Unit 10 · Factorial designs
How to run a mixed ANOVA in SPSS
Run a mixed (split-plot) ANOVA in SPSS with a within-subjects and a between-subjects factor, and interpret the interaction.
Quick answer: How do you run a mixed ANOVA in SPSS?
- Click Analyze › General Linear Model › Repeated Measures and define the time factor.
- Move the repeated variables into Within-Subjects Variables.
- Move the group variable into Between-Subjects Factor(s), then click OK.
- Read the time × group interaction.
Report it in APA style: The therapy group improved more than the control group, F(1, 58) = 18.20, p < .001, ηp² = .24.
What is a mixed ANOVA?
A mixed ANOVA combines a within-subjects factor (people measured more than once) with a between-subjects factor (different groups). The classic example is a trial measuring anxiety before and after in a therapy group and a control group.
When to use it
- Pre-post designs with a control group.
- Any design with one repeated factor and one grouping factor.
How it works
You get a main effect of time, a main effect of group, and the time × group interaction. In intervention studies, the interaction is usually the key result: it tests whether the groups changed differently over time. The within-subjects effects appear in one table and the between-subjects effect in another.
Assumptions
- Scale outcome, roughly normal.
- Sphericity for the within factor (if it has three or more levels).
- Equal variances across groups (Levene’s test) and equal covariance matrices (Box’s M).
Worked example
Anxiety fell more in the therapy group (24.1 to 16.3) than in the control group (23.8 to 22.6), time × group F(1, 58) = 18.20, p < .001, ηp² = .24.
Key terms
- Between-subjects factor
- Different people at each level.
- Within-subjects factor
- The same people at every level.
- Box’s M
- Tests equality of covariance matrices across groups; very sensitive, often judged at p < .001.
Common mistakes
- Focusing on the main effect of time when the question is whether therapy beat control.
- Analysing each group separately with paired t-tests instead of testing the interaction.
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 anx_pre anx_post BY group
/WSFACTOR=time 2 Polynomial
/METHOD=SSTYPE(3)
/PLOT=PROFILE(time*group)
/PRINT=DESCRIPTIVE ETASQ HOMOGENEITY
/WSDESIGN=time
/DESIGN=group.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.
- therapy_mixed.savAnxiety before and after, therapy vs control (N = 60)
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.