Unit 9 · Same people, several times
How to run a repeated-measures ANOVA in SPSS
Run a one-way repeated-measures ANOVA in SPSS, check Mauchly’s test, use Greenhouse-Geisser and report partial eta squared.
Quick answer: How do you run a repeated-measures ANOVA in SPSS?
- Click Analyze › General Linear Model › Repeated Measures.
- Name the within-subjects factor, enter the number of levels, click Add and then Define.
- Move the repeated variables into the slots in order.
- Under Options… tick Estimates of effect size; then read Mauchly’s test and the within-subjects table.
Report it in APA style: Recall changed over time, F(2, 48) = 38.29, p < .001, ηp² = .61.
What is a repeated-measures ANOVA?
A repeated-measures ANOVA compares three or more means from the same people, such as memory recall on day 1, week 1 and month 1. It extends the paired t-test to more than two conditions.
When to use it
- The same participants measured under three or more conditions or time points.
- A Scale outcome.
- If data are ordinal or clearly non-normal, use the Friedman test.
How it works
Because the same people appear in every condition, differences between people can be removed from the error term, making the test more powerful. The key extra assumption is sphericity: the variances of the differences between every pair of conditions should be similar. Mauchly’s test checks it. If it’s violated, the Greenhouse-Geisser correction reduces the degrees of freedom (multiplying them by epsilon) to give a more cautious p-value. Pairwise comparisons with a Bonferroni correction show which conditions differ.
Assumptions
- Scale outcome, roughly normal in each condition.
- Sphericity (only relevant with three or more conditions).
- Independent participants.
Worked example
Recall declined over time, F(2, 48) = 38.29, p < .001, ηp² = .61, and all three time points differed (Bonferroni, all p ≤ .002).
Key terms
- Within-subjects factor
- A factor where every person is measured at every level.
- Sphericity
- Equal variances of the differences between conditions.
- Greenhouse-Geisser
- A correction for violated sphericity.
- Partial eta squared (ηp²)
- Effect size: proportion of variance explained, excluding other effects.
Common mistakes
- Ignoring a significant Mauchly’s test.
- Running separate paired t-tests without correction.
- Forgetting order effects: counterbalance where possible.
How to do it in SPSS
The SPSS syntax
Prefer typing to clicking? Open File › New › Syntax, paste this in, select it and choose Run › Selection. Every dialog's Paste button writes the same kind of code.
GLM recall_d1 recall_w1 recall_m1
/WSFACTOR=time 3 Polynomial
/MEASURE=recall
/METHOD=SSTYPE(3)
/EMMEANS=TABLES(time) COMPARE ADJ(BONFERRONI)
/PRINT=DESCRIPTIVE ETASQ
/WSDESIGN=time.Practice data
Download the file used in this lesson and run it yourself in SPSS. Your results will closely match the screens above, though a few numbers may differ slightly.
- recall.savWords recalled at day 1, week 1 and month 1 (N = 25)
Now practise it interactively →
Reading is only half of it. Tap through the real SPSS menus, read the output and pick the right write-up in 6 quick questions, with instant feedback on every answer.
Practice for this lesson is part of Pro, with every unit, unlimited hearts and saved progress.