Analysis of variance: introduction and summary
Build a complete framework for analysis of variance, from research questions and two sources of variation to the F-test.
Why study several population means?
For example, compare the population mean scores for three teaching methods: are μ₁, μ₂, and μ₃ equal? Unequal sample means may simply reflect sampling variability.
From comparing means to analyzing variation
- Identify the grouping factor: teaching method (A, B, C)
- Observe how scores vary within each group
- Observe how far apart the group means are
- Compare the two sources of variation and calculate the F statistic
- Grand mean 70.0
Key concepts and research questions
Factors and levels
Factor: teaching method; levels: the three methods A, B, and C.
Response variable
The score is a quantitative variable; the grouping factor is a categorical variable.
Between-group and within-group variation
Between-group variation reflects differences between group means; within-group variation reflects the spread of observations within the same group.
Hypotheses about population means
H₀: μ₁=μ₂=μ₃; H₁: at least one population mean differs.
Essential formulas and the ANOVA table
| Source of variation | Sum of squares (SS) | Degrees of freedom df | Mean square (MS) | F |
|---|---|---|---|---|
| SSA (between groups) | 300.00 | 2 | 150.00 | 8.159 |
| SSE (within groups) | 275.76 | 15 | 18.38 | — |
| SST (total) | 575.76 | 17 | — | — |
k: number of groups; N: total sample size. A larger F usually provides more evidence against the hypothesis that the population means of all groups are equal.
Conditions for one-way analysis of variance (ANOVA) and a lesson map
Independent observations
Observations from the same student should not be treated as repeated independent samples. Random assignment supports causal interpretation, but does not by itself guarantee the validity of the statistical calculation.
Approximately normal within-group residuals
The classical small-sample F-test usually assumes approximately normal errors within each group; it does not require the pooled distribution of all groups to look normal.
Equal variances
Classical one-way ANOVA assumes equal population error variances across groups; consider Welch's ANOVA when this assumption is clearly violated.
Scope of interpretation
Rejecting H₀ means that at least one group's population mean differs; identifying specific differences requires post hoc multiple comparisons.