The Within-Subjects Design
Same People, Multiple Measures
Repeated measures ANOVA is used when the SAME subjects are measured multiple times - at different time points, under different conditions, or with different stimuli. It's the extension of the paired t-test to 3+ conditions.
Within vs Between Subjects
Group A: S1, S2, S3
Group B: S4, S5, S6
Group C: S7, S8, S9
Cond A: S1, S2, S3
Cond B: S1, S2, S3
Cond C: S1, S2, S3
Between-subjects: different people in each group, individual differences add noise. Within-subjects: same people in all conditions, individual differences are controlled for.
Advantages
Repeated measures designs are more powerful because between-subject variability is removed. The same person serves as their own control, so you're comparing apples to apples.
Sphericity Assumption
The Key Assumption
Example with 3 time points:
• Var(Time1 - Time2) ≈ Var(Time1 - Time3) ≈ Var(Time2 - Time3)
Sphericity is like homogeneity of variance for repeated measures. It's automatically satisfied with 2 conditions (like paired t-test) but must be checked with 3+ conditions.
Mauchly's Test
If p < .05: Sphericity violated → use corrections
If p ≥ .05: Sphericity OK (or underpowered)
Mauchly's W = .72, χ²(2) = 8.4, p = .015
Since p < .05, sphericity is violated. Use corrected F-test.
Mauchly's test checks sphericity. If significant (p < .05), sphericity is violated and you need to use corrected degrees of freedom for the F-test.
What to Do When Violated
Epsilon (ε) quantifies how badly sphericity is violated. The corrections reduce degrees of freedom, making the test more conservative and honest about uncertainty.
Reading the Output
Typical Output
| Source | SS | df | MS | F | p |
|---|---|---|---|---|---|
| Time | 400 | 2 | 200 | 10.0 | .001 |
| Error(Time) | 760 | 38 | 20 | - | - |
G-G ε = .74 → F(1.48, 28.1) = 10.0, p = .002
The output shows the within-subjects factor (Time). Notice Error(Time) - this is the error term specific to the repeated factor. When sphericity is violated, use corrected df.
Follow-Up Comparisons
• Time 1 vs Time 2: p = .15
• Time 1 vs Time 3: p = .001*
• Time 2 vs Time 3: p = .03*
After finding a significant overall effect, run pairwise comparisons to see which specific conditions differ. Use Bonferroni or similar correction for multiple comparisons.
APA Style
"A one-way repeated measures ANOVA revealed a significant effect of time on test scores, F(1.48, 28.1) = 10.0, p = .002, η²_p = .34. Greenhouse-Geisser correction was applied due to violation of sphericity (Mauchly's W = .65, p = .02). Bonferroni-corrected pairwise comparisons showed significant improvement from Time 1 to Time 3 (p = .001) and from Time 2 to Time 3 (p = .03), but not from Time 1 to Time 2 (p = .15)."
Report: the design, corrected df if applicable, F-value, p-value, effect size (partial η²), and pairwise comparison results.
Mixed Designs
Between + Within
Between: Treatment group (Drug vs Placebo)
Within: Time (Pre, Post, Follow-up)
Tests: Main effect of Group, Main effect of Time, Group × Time interaction
Mixed designs combine between-subjects and within-subjects factors. The interaction is often key: does the pattern over time differ between groups?
Treatment Over Time
The interaction shows that the drug group improves over time while the placebo group stays flat. This Group × Time interaction is often the primary hypothesis in treatment studies.
Real-World Examples
Apply your knowledge to practical scenarios
Learning Across Practice Sessions
20 participants complete a task at 4 time points: baseline, after 1 week, 2 weeks, and 4 weeks of practice. Outcome is accuracy (%).
Key Insights
- Repeated measures controls for individual differences
- Always check sphericity with 3+ levels
- Report corrected df when sphericity is violated
Repeated Measures ANOVA Quiz
Test your understanding • Passing score: 70%