CHAPTER 06 · TOPIC 01
One-Way ANOVA
Treat group membership as a model, decompose variation into between- and within-group components, and construct the F test.
On this page
- The core of ANOVA: treating grouping as a model
- Data Structure and Assumptions
- Why can we merge within-group sums of squares?
- Why does the ratio of squares have an F distribution?
- Hypotheses
- Symbols and one-way models
- Decomposing the Sum of Squares
- Degrees of Freedom, Mean Squares, and the F Test
- Complete Analysis Procedure
- With Two Groups, F=t²
- Extensions of ANOVA
One-way ANOVA compares the population means of three or more independent groups at once. The total variation is decomposed into between-group variation and within-group variation, and the ratio determines whether the group effect is sufficiently larger than chance variation.
The core of ANOVA: treating grouping as a model#
Data Structure and Assumptions#
| item | requirements |
| explanatory variables | One categorical factor (k levels) |
| dependent variable | Quantitative variables whose averages have meaning |
| sample | Each object belongs to only one independent group |
| null hypothesis | The population means of all groups are equal |
- observation units are independent of each other
- Errors in each group are approximately normally distributed
- Each group has a common error variance σ²
- The dependent variable is quantitative and mean comparison is meaningful for research.
Why can we merge within-group sums of squares?#
If each group estimates the same error variance, the independent error information for each group can be weighted and merged by degrees of freedom. This result is MSE.
Why does the ratio of squares have an F distribution?#
Under H₀ both equations estimate σ², so the ratio is roughly around 1. If the group means differ, MSM increases and F increases to the right.
Hypotheses#
Symbols and one-way models#
Decomposing the Sum of Squares#
Degrees of Freedom, Mean Squares, and the F Test#
| source of variation | sum of squares | degree of freedom | Uniform square |
| between groups | SSM | k−1 | SSM/(k−1) |
| within the group | SSE | n−k | SSE/(n−k) |
| whole | SST | n−1 | — |
Complete Analysis Procedure#
- Confirm study design, independence, factor levels, and dependent variables
- Check n, mean, standard deviation, distribution, and outliers by group
- Diagnose residuals and homoscedasticity and select Welch method if necessary
- Calculate sum of squares, degrees of freedom, mean squares, F, p-value
- If significant, perform planned contrasts or post hoc comparisons adjusted for multiplicity.
- Report mean differences, confidence intervals, effect sizes, assumptions and limitations
With Two Groups, F=t²#
With two independent groups assuming equal variances, one-way ANOVA and pooled t-tests test the same null hypothesis.
Extensions of ANOVA#
Consider Welch ANOVA for unequal variances, two-way ANOVA that handles main effects and interactions for two factors, MANOVA for multiple quantitative dependent variables, and repeated measures or mixed models for repeated measurements.