⏳ Loading example…
🌀
RM-ANOVA
Mauchly's Test of Sphericity — Repeated-Measures ANOVA Worked Example
Step-by-step Mauchly's sphericity test on a 4-condition repeated-measures design. Orthonormal contrasts, W = 0.136, chi-square approximation, and when to apply Greenhouse-Geisser correction.
📊 W = 0.136, χ²(5) = 11.41, p = .044 → violated
Step-by-step solution
🌀 26 · Mauchly's Test of Sphericity — Repeated-Measures ANOVA
Testing the Sphericity Assumption Before a Repeated-Measures ANOVA
RM-ANOVA
Research Question:
8 participants each tasted 4 foods and rated their disgust. Before running a repeated-measures ANOVA, we must check the sphericity assumption: are the variances of all the pairwise differences between conditions equal? Mauchly's test answers this.
| Participant | Food 1 | Food 2 | Food 3 | Food 4 |
|---|---|---|---|---|
| 1 | 8 | 7 | 1 | 6 |
| 2 | 9 | 5 | 2 | 5 |
| 3 | 6 | 2 | 3 | 8 |
| 4 | 5 | 3 | 1 | 9 |
| 5 | 8 | 4 | 5 | 8 |
| 6 | 7 | 5 | 6 | 7 |
| 7 | 10 | 2 | 7 | 2 |
| 8 | 12 | 6 | 8 | 1 |
Mauchly's W (via orthonormal contrasts)
where S is the covariance matrix of the (k−1) ORTHONORMAL contrast scores.
-
1Build orthonormal contrasts: Transform the 4 conditions into k−1 = 3 orthonormal (Helmert) contrast scores per participant. This step is essential — using raw successive differences gives a WRONG W.
-
2Covariance matrix S (3×3) of the contrast scores:
-
3W:
-
4Chi-square approximation:
-
5Decision rule: p = .044 < .05 → sphericity is violated → apply a Greenhouse-Geisser or Huynh-Feldt correction to the RM-ANOVA degrees of freedom. If p had been > .05, no correction would be needed.
0.1362
W
11.41
χ²
5
df
.044
p
🔴 Sphericity violated — W = 0.136, χ²(5) = 11.41, p = .044. Report the Greenhouse-Geisser corrected F for the RM-ANOVA.
APA-7
Mauchly's test indicated that the assumption of sphericity had been violated, χ²(5) = 11.41, p = .044; therefore, degrees of freedom were corrected using Greenhouse-Geisser estimates of sphericity (ε = .62).