One-way ANOVA
Tests whether k ≥ 2 group means are all equal by comparing variation between group means with variation within groups.
- Observation j in group i.
- Mean and size of group i.
- Grand mean of all N observations.
- Number of groups.
- Mean squares between and within groups.
- Total number of observations.
When to use
A quantitative outcome compared across three or more independent groups (with two groups, ANOVA's F equals the pooled ). It replaces many pairwise t-tests, which would inflate the false-positive rate.
Assumptions
- Independent observations and groups.
- Roughly normal residuals within groups (robust with moderate, similar group sizes).
- Equal population variances. If SDs differ markedly (largest/smallest above about 2) or sizes are unequal, use Welch's ANOVA; check with Levene/Brown–Forsythe and residual plots.
How to interpret
- A small p-value is evidence that at least one mean differs — not that all differ, and not which. Follow with Tukey HSD or planned comparisons.
- Effect sizes: (share of variation explained in the sample) and (less biased).
Common mistakes
- Concluding all means differ after a significant F.
- Running ANOVA on repeated measurements of the same subjects as if groups were independent.
- Treating a non-significant F as proof that the means are equal.
Example
Groups: (4, 5, 6, 5), (7, 8, 6, 7), (5, 6, 7, 6). Means 5, 7, 6; grand mean 6. , . on (2, 9) df, ; , . Tukey HSD then locates the difference (groups 1 and 2).