- Introduced by
- Girden (textbook treatment); Field (2013)
- Year
- 1992
- Type
- Parametric within-subjects mean comparison
What does it do?
Repeated-measures ANOVA is a parametric hypothesis test that compares three or more measurements taken from the same individuals — typically across time points or conditions — to decide whether their means differ.
It extends one-way ANOVA to within-subjects designs, as treated in standard references such as Girden (1992) and Field (2013).
The intuition behind the method
When you measure the same people repeatedly — before, during and after a treatment, for example — the observations are not independent, because each person carries their own baseline level. Repeated-measures ANOVA removes that stable between-person variability and tests whether the remaining differences across the time points or conditions are larger than would be expected from noise within each person.
History
Repeated-measures ANOVA is treated in standard textbooks as an established parametric method for within-subjects designs (Girden, 1992; Field, 2013, Ch. 14). Sphericity diagnostics and corrections are reported alongside it in standard statistical output, which lists an uncorrected 'sphericity assumed' line and Greenhouse-Geisser, Huynh-Feldt and lower-bound lines with adjusted degrees of freedom (Applied Statistics: From Bivariate Through Multivariate Techniques, 2nd ed., p. 943). The Friedman test and linear mixed-effects models are its common alternatives.
When to use it
Use it to compare a single continuous outcome measured three or more times on the same individuals (longitudinal or panel data). Key assumptions: the repeated measures are approximately multivariate normal, which is commonly screened by checking the distribution at each time point (for example with the Shapiro-Wilk test) and by inspecting residuals; and sphericity holds, meaning the variances of the differences between all pairs of conditions are equal, assessed with Mauchly's test. The adequate number of subjects depends on the number of conditions, the expected correlations between measurements and the desired power; small samples make both the sphericity test and the F test unreliable. With marked non-normality the nonparametric Friedman test is more appropriate, and substantial missing data is better handled by a linear mixed-effects model.
Limitations and considerations
- Requires the sphericity assumption; when it fails, a Greenhouse-Geisser or Huynh-Feldt correction is mandatory.
- Sensitive to non-normality at any time point, especially in small samples.
- Classic form requires complete data for every subject at every time point — missing observations force dropping cases or switching to a mixed model.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Stable differences between individuals are removed from the error term. The gain over a between-groups analysis depends on how strongly each person's scores are correlated across conditions, so it is largest when the repeated measures are highly correlated.
- Tests three or more time points or conditions in a single omnibus test, avoiding the inflated false-positive rate that comes from running many separate paired tests.
- Reports an interpretable effect size (partial eta-squared) and supports standard corrections for sphericity violations.
Applications
- Tracking a clinical or psychological outcome across baseline, mid-treatment and follow-up measurements on the same patients.
- Comparing the same participants' performance under three or more experimental conditions.
- Analysing longitudinal or panel study scores measured at successive waves.
- Evaluating learning or training effects across repeated test sessions for one group.
How it works
How it works
The null hypothesis states that the means across all repeated conditions are equal; the alternative states that at least one condition mean differs. The test decides between these claims using a single omnibus F test.
Formula
H_0:\ \mu_1 = \mu_2 = \cdots = \mu_k \quad H_1:\ \exists\, i,j:\ \mu_i \neq \mu_j
The F statistic divides the treatment mean square (variability across the repeated conditions) by the error mean square (the leftover within-subject variability after removing each individual's overall level). Because between-person differences are partitioned out, the error term is typically smaller than the error term from a between-groups analysis of the same scores when the repeated scores are positively correlated, so the same condition differences yield a larger F. F is compared against the Fisher F-distribution with (k − 1) and (k − 1)(n − 1) degrees of freedom, where k is the number of measurements and n the number of subjects.
Formula
F = \dfrac{MS_{\text{treatment}}}{MS_{\text{error}}} = \dfrac{SS_{\text{treatment}}/(k-1)}{SS_{\text{error}}/[(k-1)(n-1)]}If the p-value falls below 0.05 the null hypothesis is rejected, indicating the condition means differ. Partial eta-squared is reported as an effect size, and Bonferroni-corrected pairwise comparisons identify which specific time points or conditions differ. If Mauchly's test signals a sphericity violation, the F test is read with a Greenhouse-Geisser or Huynh-Feldt correction of its degrees of freedom. Standard output reports the uncorrected 'sphericity assumed' line together with Greenhouse-Geisser, Huynh-Feldt and lower-bound lines, the last three using downwardly adjusted degrees of freedom (Applied Statistics: From Bivariate Through Multivariate Techniques, 2nd ed., p. 943). As a common rule of thumb, Greenhouse-Geisser is preferred when the estimated epsilon is small (below about 0.75) and Huynh-Feldt when it is larger; this is a convention, not a fixed rule.
Formula
\text{reject } H_0 \text{ if } p < 0.05;\quad \eta_p^2 = \dfrac{SS_{\text{treatment}}}{SS_{\text{treatment}} + SS_{\text{error}}}Common pitfalls
- Reading the uncorrected 'sphericity assumed' F when Mauchly's test is significant. Apply a Greenhouse-Geisser correction (conventionally when epsilon is below about 0.75) or a Huynh-Feldt correction (otherwise).
- Running the test on too few subjects, where the sphericity test is underpowered and F becomes unreliable.
- Reporting the omnibus result without effect size or follow-up pairwise comparisons.
- Forcing the parametric test on clearly non-normal data instead of using the Friedman test.
Frequently asked questions
How is this different from a paired t-test?
A paired t-test compares exactly two related measurements. Repeated-measures ANOVA generalises that idea to three or more time points or conditions in a single test, which avoids inflating the false-positive rate that running many paired t-tests would cause.
What is sphericity and why does it matter?
Sphericity means the variances of the differences between every pair of conditions are equal. If Mauchly's test shows it is violated, the F test becomes too liberal, so a Greenhouse-Geisser or Huynh-Feldt epsilon correction is applied to the degrees of freedom before the decision is read.
What if my data are not normal or my sample is small?
With marked non-normality the parametric F test may give unreliable p-values, and small samples make the sphericity test underpowered and the F test less reliable. The Friedman test is the nonparametric alternative for repeated measures, while a linear mixed-effects model is preferred when there is missing data.
How do I know which time points differ?
A significant omnibus F only says that some means differ. Follow it with Bonferroni-corrected pairwise comparisons to identify which specific conditions differ, and report partial eta-squared as the effect size.
Related methods
Sources
Field, A. (2013). Discovering Statistics Using IBM SPSS Statistics (4th ed., Ch. 14). SAGE.
ISBN: 978-1446249185Girden, E. R. (1992). ANOVA: Repeated Measures. SAGE.
ISBN: 978-0803942578Applied Statistics: From Bivariate Through Multivariate Techniques, 2nd Edition, p. 943