Repeated Measures ANOVA#
The repeated measures ANOVA (rm-ANOVA) tests whether the means of three or more related measurements (e.g., at different time points) differ significantly. It is the extension of the paired t-test to more than two measurement points.
When to Use#
Use the rm-ANOVA when you want to:
- Compare three or more related measurements from the same subjects
- The dependent variable is metric (continuous)
- The data are approximately normally distributed
- The sphericity assumption is met (or corrected for)
Typical use cases:
- Measurements at multiple time points (before, during, after)
- Reaction times under different experimental conditions
- Performance measurements across a semester
Assumptions#
- Related measurements (the same subjects are measured multiple times)
- Metric scale of the dependent variable
- Normal distribution of the dependent variable at each measurement point
- Sphericity (Mauchly's test) β if violated: Greenhouse-Geisser or Huynh-Feldt correction
- No extreme outliers in the differences
Sphericity and Mauchly's Test#
Sphericity is a specific assumption of the rm-ANOVA. It requires that the variances of all pairwise differences between measurement points are equal. This assumption is tested using Mauchly's test:
- If Mauchly's test is not significant (): Sphericity can be assumed.
- If Mauchly's test is significant (): Sphericity is violated. In this case, corrected F-values should be used:
- Greenhouse-Geisser correction (): More conservative, recommended when
- Huynh-Feldt correction (): Less conservative, recommended when
Note: For severe violations of the assumptions, the Friedman test is the appropriate nonparametric alternative.
Formula#
The test statistic of the rm-ANOVA:
The sums of squares are decomposed into:
where:
with:
- = number of measurement points/conditions
- = number of subjects
The degrees of freedom are and .
When sphericity is violated, the degrees of freedom are multiplied by the correction factor :
Example#
Practical Example: Stress Levels During Therapy
A psychologist investigates whether patients' stress levels change over the course of therapy. She measures stress levels (using a standardized questionnaire) in 40 patients at four time points:
- T1: Before therapy begins
- T2: After 4 weeks
- T3: After 8 weeks
- T4: After 12 weeks (end of therapy)
Since the same patients are measured at all time points, these are repeated measures data. The rm-ANOVA tests whether the mean stress level changes significantly across the four time points.
- Mauchly's test: Check sphericity ( β sphericity violated)
- Apply Greenhouse-Geisser correction ()
- If significant: Pairwise comparisons with Bonferroni correction
Effect Size#
Partial eta-squared () as a measure of effect size:
| Effect Size | Ξ·Β²_p |
|---|---|
| Small | 0.01 |
| Medium | 0.06 |
| Large | 0.14 |
Tip: When the omnibus test is significant, post-hoc comparisons (e.g., with Bonferroni correction) are required to determine which measurement points differ significantly from each other.
Further Reading
- Field, A. (2018). Discovering Statistics Using IBM SPSS Statistics (5th ed.). SAGE.
- Girden, E. R. (1992). ANOVA: Repeated Measures. SAGE.