Repeated-measures and mixed ANOVA
Within vs between factors, sphericity and Greenhouse-Geisser, the group × time interaction and simple effects.
When your data measure the same people several times — before, midway, after — a question comes up.
"Can't I just run a t-test for each pair of time points?"
Separate t-tests for every pair raise the chance of a significant result by luck with each extra test, and they ignore the fact that one person's scores resemble each other. This is what repeated-measures ANOVA and mixed-design ANOVA are for. Here are the difference between them, sphericity, how to read the interaction, and how to write it up.
What repeated-measures ANOVA is
Repeated-measures ANOVA tests whether the means of values measured three or more times on the same subjects differ across time points (or conditions).
Because each person takes part at every time point, each person's own baseline level (individual differences) can be taken out of the error. So with the same sample size it has more power than comparing separate groups.
Within- vs between-subjects factors
- Within-subjects factor — every person goes through every level (e.g. pre · week 4 · week 8)
- Between-subjects factor — each person belongs to one level only (e.g. jump-rope group · control group)
With only a within-subjects factor it is a one-way repeated-measures ANOVA; add a between-subjects factor and it becomes a mixed-design ANOVA (split-plot design).
Which analysis?
| Data | Analysis |
|---|---|
| Only 2 time points | Paired t-test |
| One group · 3+ time points | One-way repeated-measures ANOVA |
| 2+ groups × several time points | Mixed-design ANOVA |
| Clearly non-normal, small sample | Friedman test |
| Many missing time points or uneven intervals | Linear mixed-effects model |
Today's example
| Item | Details |
|---|---|
| Subjects | 48 primary school pupils (anonymised) |
| Groups | 8-week jump-rope programme 24 · control 24 |
| Measures | Shuttle-run laps at pre · week 4 · week 8 |
The data have one row per person and one column per time point.
| ID | Programme | Pre | Week 4 | Week 8 |
|---|---|---|---|---|
| S02 | Jump rope | 37 | 44 | 51 |
| S26 | Control | 28 | 35 | 33 |
The means by time point came out like this.
- Jump rope 32.9 → 37.3 → 43.5 laps
- Control 32.7 → 34.0 → 35.9 laps
Three things in the results table
- Group main effect — pooling all time points, do the two groups differ?
- Time main effect — pooling the groups, do the time points differ?
- Interaction (group × time) — does the pattern of change differ between groups?
In a mixed design, look at the interaction first. The question "did the programme work?" lives right there.
In the example the group main effect was not significant (F(1, 46) = 2.43, p = .126). But the interaction was (F(2, 92) = 7.23, corrected p = .004).
Averaging over the three time points hides the difference, but the slope of change differed between groups. Look only at the main effect and you would have missed the effect.
The assumption to check — sphericity
Repeated measures add an assumption ordinary ANOVA does not have: sphericity. It says the variances of the difference scores for every pair of time points are equal.
- Mauchly's test — p > .05 means sphericity holds; p < .05 means it is violated
- If violated, shrink the degrees of freedom by epsilon (ε)
- ε < .75 → Greenhouse-Geisser; ε close to 1 → Huynh-Feldt
- With only 2 time points, sphericity does not apply
In the example Mauchly's test showed a violation (χ²(2) = 21.91, p < .001) and ε = .72, so the Greenhouse-Geisser correction was used. The degrees of freedom shrink to 2 × .72 = 1.44 and 92 × .72 = 66.41, and p gets a little larger.
Sphericity concerns only within-subjects effects (time and the interaction), not the group main effect. Also check normality of the residuals and equal variances between groups at each time point (Levene). When sphericity is badly violated, multivariate tests (Wilks etc.), which do not assume it, are often reported alongside.
If the interaction is significant — simple effects and post hoc tests
With a significant interaction, read simple effects instead of main effects.
| Simple effect | Result |
|---|---|
| Time effect · jump rope | F(2, 46) = 29.89, p < .001 |
| Time effect · control | F(2, 46) = 2.75, p = .074 |
| Group difference by time point | pre p = .930 · week 4 p = .233 · week 8 p = .009 |
Only the jump-rope group improved clearly over time, and the gap between groups opened at week 8.
When comparing pairs of time points, apply a multiple-comparison correction such as Bonferroni, Holm or FDR.
Effect size: partial eta squared (η²p)
.01 small · .06 medium · .14 large
The interaction in the example had η²p = .136, a medium effect (close to the .14 mark for large). Always report it with the p-value.
How to write it up
To test the effect of an 8-week jump-rope programme, a programme (jump rope, control) × time (pre, week 4, week 8) mixed-design ANOVA was conducted. Mauchly's test indicated a violation of sphericity (χ²(2) = 21.91, p < .001), so the Greenhouse-Geisser correction (ε = .72) was applied. The programme × time interaction was significant, F(1.44, 66.41) = 7.23, p = .004, η²p = .14. Simple effects showed that shuttle-run laps increased significantly over time in the jump-rope group (F(2, 46) = 29.89, p < .001) but not in the control group (F(2, 46) = 2.75, p = .074). At week 8 the jump-rope group (M = 43.50, SD = 9.40) scored significantly higher than the control group (M = 35.92, SD = 9.69), F(1, 46) = 7.57, p = .009.
Example sentence · the numbers are made up
In Skari
Upload your data to Skari's statistics app and, in the list on the left under Comparison → ANOVA, you will find One-Way RM ANOVA and Mixed Design ANOVA side by side. Each analysis runs Variables → Settings → Validation → Result.
For a mixed design you only pick the subject ID column, the between-subjects factor and the within-subjects measurement (time point) columns.

In Settings you choose the Significance Level, the Sphericity Correction (None · Greenhouse-Geisser · Huynh-Feldt) and the Post-hoc Method (Bonferroni · Holm · FDR). The sphericity correction defaults to Greenhouse-Geisser.

Try it with your own data
Open Comparison → ANOVA → Mixed Design ANOVA
The top of the report sums up the interaction's F and η²p and the main effects as key figures, followed by a results paragraph that starts with the interaction.

The report then holds the ANOVA summary table, descriptives by group × time point, simple effects and pairwise comparisons, with within-subjects effects by sphericity correction, multivariate tests, bootstrap CIs for the effect sizes and the sphericity test (Mauchly) under More results.

The charts include a profile plot joining each group's means across time points.

The report downloads as Excel, PDF or Word.
If you measured one group several times with no group split, use One-Way RM ANOVA: pick the subject ID and the measurement columns (two or more), and you also get Mauchly's test, Bonferroni pairwise comparisons and polynomial trend analysis.
Wrapping up
The core of repeated-measures analysis is check sphericity → interaction first → unpack it with simple effects. Especially in pre-post designs, remember that the real question is not "did things improve over time?" but "did our group improve more?"
Want the theory behind it?The Academy's Mixed-Design ANOVA chapter covers the group × time interaction and differences in change →