Compare several treatment means by separating between-treatment variation from within-treatment error. This page covers the global test, equivalent model parameterizations, diagnostics, and the alternative framework for binary outcomes. Numerical examples use illustrative practice data.
Treatment variation measures separation among group means. Error variation measures spread within each group. Some notation calls SSTr “condition SS” or SSC.
Both mean squares estimate σ2 under the null. Separated treatment means increase the numerator, so rejection is in the right tail. This is a test about means, unlike the two-sample variance-ratio test.
For m=2, this ANOVA test equals the two-sided pooled t test, with F=t2. It is not generally equivalent to Welch’s test.
For unequal group sizes, this average of group means is not necessarily the observation-weighted grand mean used in the ANOVA decomposition. With balanced groups, they coincide.
Repeated units, clusters, or matched observations.
Independence must come from the design, not a normality plot.
Residual Q-Q plot
Strong curvature or extreme tails.
Normal-theory inference may be unreliable, especially with small samples.
Residuals vs. fitted values
Changing spread across fitted groups.
Common variance may be unsuitable.
Residuals vs. collection order
Drift, cycles, long runs.
Time structure or omitted nuisance effects.
Unusual observations
Recording mistakes or exceptional conditions.
Investigate context; do not remove points just to improve significance.
Normality tests can supplement plots but do not certify a model. With unequal variances, consider a heteroscedastic analysis such as Welch’s ANOVA. For strongly skewed outcomes, a meaningful transformation or a suitable response model may be preferable. Count outcomes may need a count model; binary outcomes need a proportions or binary-response analysis.
Use the right tail. This approximation requires independent observations and sufficiently large expected counts; sparse tables call for an appropriate exact or simulation-based method. The global test does not identify which proportions differ.