Why Examine Residual Normality?
One-way ANOVA compares the means of several groups. Its usual model assumes that, within each group, responses vary around that group’s mean according to a normal error distribution, with errors independent across observations and a common variance. A normal Q-Q plot is a visual way to look for departures from the normal shape in the fitted model’s errors.
The relevant values are residuals, not the original responses pooled across groups. If groups genuinely have different means, pooling their raw responses combines distinct centers; even when each group is normal, that mixture need not look like a single normal distribution. A residual subtracts the fitted mean for its own group, so the diagnostic focuses on variation not accounted for by those group means.
How to Read a Normal Q-Q Plot
A Q-Q plot puts theoretical normal quantiles on the horizontal axis and ordered observed residuals on the vertical axis. The theoretical quantiles are locations expected from a standard normal distribution, such as approximately \(-1.645\) at cumulative probability \(0.05\) and \(1.645\) at cumulative probability \(0.95\). For \(m\) residuals, one common plotting convention assigns the \(i\)th ordered residual the probability \(p_i=(i-0.5)/m\), then uses the standard normal quantile at \(p_i\). Software may use a slightly different plotting convention.
Here \(e_{(i)}\) is the \(i\)th residual after sorting, \(x_i\) is its theoretical normal quantile, and \(\Phi^{-1}\) is the inverse cumulative distribution function of the standard normal distribution. If residuals are plotted in their original units, a straight reference line can have a nonzero intercept and a slope reflecting their scale. If residuals are divided by a common positive scale first, the line’s scale changes, but the overall shape does not.
- Approximately straight: the observed residual quantiles track the normal reference reasonably well. Small departures are common, especially in the tails of a modest data set.
- Systematic curvature: the residual distribution’s shape differs from a normal shape. Pronounced asymmetry, such as a much more extended upper tail than lower tail, suggests skewness.
- One conspicuous endpoint departure: an extreme residual may be separated from the general pattern. It is a signal to examine the observation and analysis carefully, not proof that the value is wrong.
Interpret the whole pattern, not just whether every point touches a line. With few residuals, the plot has limited ability to reveal subtle departures, and individual points can move noticeably. A mild bend at the ends is different from strong, coherent curvature across much of the plot.
What the Residuals Represent
The one-way ANOVA model can be written as \(y_{ij}=\mu_i+\varepsilon_{ij}\), where \(\mu_i\) is the mean for group \(i\) and \(\varepsilon_{ij}\) is its error. Under the normal-error assumption, the errors are normally distributed with mean zero and common variance \(\sigma^2\). The fitted group mean is \(\bar{y}_i\), so the residual is an error with its group’s average error removed.
This also explains a limitation of the plot: ANOVA residuals are not a collection of independent, exactly standard normal observations. Their values are constrained within each group, because \(\sum_j e_{ij}=0\). Under independent normal errors with variance \(\sigma^2\), each residual has mean zero and variance \(\sigma^2(1-1/n_i)\), where \(n_i\) is the group size. Residuals from the same group are also related. Therefore, a Q-Q plot is an approximate visual diagnostic of the model’s normal shape, not a test that proves the assumption true or false.
The justification for the plot is that, if the model’s errors have a normal shape, their ordered values should roughly track the corresponding ordered normal quantiles, apart from ordinary sample variation and the effects of estimating group means. A pronounced, systematic mismatch is more concerning than a small tail fluctuation. The plot does not assess whether observations are independent, and it is not a check of equal variances across groups; those questions require other information or diagnostics.
Worked Example: A Roughly Linear Pattern With Mild Tail Departures
Suppose a hypothetical experiment records five responses in each of two groups. The group A responses are \(8, 9, 10, 11, 12\), and group B responses are \(18.2, 19.1, 20, 20.9, 21.8\). Assume the observations were collected independently and that the ANOVA model of a common variance is the model under review. Calculate the residuals and consider what their Q-Q plot would suggest.
The group means are \(10\) and \(20\). Subtracting each group’s own mean gives residuals \(-2,-1,0,1,2\) for group A and \(-1.8,-0.9,0,0.9,1.8\) for group B. The sorted residuals are \(-2,-1.8,-1,-0.9,0,0,0.9,1,1.8,2\). For \(m=10\), the plotting positions are \(0.05,0.15,\ldots,0.95\).
| Ordered position \(i\) | Theoretical quantile \(x_i\), approximately | Ordered residual \(e_{(i)}\) |
|---|---|---|
| 1 | -1.645 | -2.0 |
| 2 | -1.036 | -1.8 |
| 3 | -0.674 | -1.0 |
| 4 | -0.385 | -0.9 |
| 5 | -0.126 | 0 |
| 6 | 0.126 | 0 |
| 7 | 0.385 | 0.9 |
| 8 | 0.674 | 1.0 |
| 9 | 1.036 | 1.8 |
| 10 | 1.645 | 2.0 |
The ordered residuals increase as the theoretical quantiles increase, and the tail values are not dramatically separated from the rest. The points would give a broadly linear pattern, with some deviations, including the duplicated zeros. This small example does not establish normality: with only ten residuals, the plot cannot provide strong evidence about subtle departures. It does show why a few imperfectly aligned points are not, by themselves, a reason to reject the model’s normal shape.
Worked Example: A Pronounced Right-Tail Departure
In a second hypothetical experiment, each of two groups has six responses. Group A has \(9, 9.2, 9.5, 10, 10.2, 12.1\), and group B has \(18.8, 19.4, 19.8, 20.1, 20.4, 21.5\). Assume independent observations; the group means are \(10\) and \(20\), respectively. Find the residuals and describe the Q-Q pattern.
For group A, subtracting \(10\) gives \(-1,-0.8,-0.5,0,0.2,2.1\). For group B, subtracting \(20\) gives \(-1.2,-0.6,-0.2,0.1,0.4,1.5\). Each set sums to zero, as residuals within a group must. The sorted residuals are \(-1.2,-1,-0.8,-0.6,-0.5,-0.2,0,0.1,0.2,0.4,1.5,2.1\).
For \(m=12\), the most extreme plotting probabilities are \(0.5/12\), approximately \(0.0417\), and \(11.5/12\), approximately \(0.9583\); their standard normal quantiles are about \(-1.732\) and \(1.732\). The smallest residual is \(-1.2\), while the largest is \(2.1\). The much more extended upper end would put the upper-tail points well away from a symmetric straight-line pattern, with the positive tail extending farther than the negative tail. This is evidence of pronounced right-skewness in these residuals and merits further investigation of the model and data. It is not a calculation of a p-value or a formal decision that the model is invalid.
Worked Example: One Conspicuous Endpoint
Consider another hypothetical experiment with six observations in each group. Group A’s responses are \(9.5,9.5,9.5,9.5,9.5,12.5\), and group B’s are \(19.6,19.8,19.9,20.1,20.2,20.4\). The means are \(10\) and \(20\). Calculate the residuals and identify the diagnostic clue.
Group A’s residuals are five values of \(-0.5\) and one value of \(2.5\); their sum is \(5(-0.5)+2.5=0\). Group B’s residuals are \(-0.4,-0.2,-0.1,0.1,0.2,0.4\), which also sum to zero. The pooled residual sum of squares is \(5(0.5^2)+2.5^2+2(0.4^2+0.2^2+0.1^2)=7.92\). With \(12-2=10\) residual degrees of freedom, the ANOVA residual mean square is \(7.92/10=0.792\), and its square root is approximately \(0.890\).
The largest residual, \(2.5\), is much farther from zero than the others; divided by the residual scale \(0.890\), it is approximately \(2.81\). In a Q-Q plot, that top endpoint would be a conspicuous departure from the remaining points. This is a reason to check the recorded response, its context, and the analysis carefully. It does not establish that the observation is erroneous or that it should be removed. The pattern could reflect a genuine response, and further diagnostics are needed to understand it.
Common Mistakes and Practical Interpretation
- Plotting pooled raw responses. Different group means can create a nonnormal-looking mixture even when within-group errors are normal. Use residuals after subtracting each group’s fitted mean.
- Treating every deviation as a failure. Sample quantiles vary, and tail points are especially variable. Look for substantial, systematic curvature rather than demanding that all points lie exactly on the line.
- Calling a Q-Q plot a proof. A nearly straight plot is compatible with normality, but it cannot prove the assumption. A small sample may conceal a departure; a large sample may make small departures visible.
- Using this plot to check every ANOVA condition. A normal Q-Q plot concerns residual shape. It does not establish independence or equal variances, and those assumptions should not be inferred from its appearance.
- Declaring an extreme point an error. An endpoint departure is a prompt to investigate, not an automatic instruction to delete an observation or change the analysis.
The practical question is not whether residuals are perfectly normal, but whether the Q-Q plot shows departures substantial enough to raise concern about the normal-error model. Mild tail irregularities often call for measured interpretation, especially in small samples. Strong skewness or a single point far from the overall pattern calls for closer investigation and consideration of the full study context.
Check Your Understanding
Use the model and plotting ideas above to answer the following questions.
- Why are residuals more appropriate than pooled raw responses for examining normality in a one-way ANOVA?
- For a group with responses \(4, 6, 8\), find the fitted group mean and the three residuals. What is their sum?
- What does a pronounced, asymmetric departure in the upper tail of a normal Q-Q plot suggest about the residual shape?
- Why does a nearly straight Q-Q plot not prove that the ANOVA normality assumption is true?
- A single endpoint lies far from the rest of the points. What is an appropriate conclusion, and what conclusion would go too far?
- Which ANOVA conditions are not assessed by a normal Q-Q plot?