When to use it
Every subject (person, unit) is measured under EVERY condition, a within-subjects / repeated-measures design (e.g. the same patients measured before, during, and after treatment), and you want to test whether the mean response differs across those conditions.
When not to: The design has missing cells or dropouts (subjects not measured at every condition; use a linear mixed-effects model instead), the response is severely non-normal or ordinal (use the Friedman test), or the groups being compared are actually independent (different subjects in each group) rather than the same subjects repeated across conditions.
Step by step
Open it from the menu
Click Analyze in the menu bar; under Means choose Repeated-Measures ANOVA.
Fill in the form
Choose the columns: Subjects (people or units), Conditions (within each subject), What you measured. The form lists only columns whose type fits each field.
Check the options
The options start at their defaults: Alpha. Change one only when your question needs it.
Run the analysis
Press Run analysis. The Result Card opens on its Results tab.
What to choose in the form
| Subjects (people or units) Subject required | One categorical or ordered categorical or numeric column. Subject / unit identifier (each level = one subject measured under every condition). |
|---|---|
| Conditions (within each subject) Within Factor required | One categorical or ordered categorical column. The within-subjects factor (the condition), 2+ levels. |
| What you measured Response required | One numeric column. The continuous response measured under each condition. |
| Alpha | Significance threshold for the F-test. Default: 0.05. |
How to read the card
The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.
What it assumes
- Sphericity
If it does not hold: When sphericity is violated (the variances of the pairwise condition differences are not all equal), the uncorrected F-test's p-value is too liberal (too easily significant); a correction (Greenhouse-Geisser, or Huynh-Feldt when epsilon is large) restores approximately the right Type I error rate.
How to check: Mauchly's test of sphericity, reported directly on the card, with the Greenhouse-Geisser and Huynh-Feldt corrected p-values also reported so the corrected result is always available alongside the uncorrected one; automatically reported as satisfied (no test needed) when there are only two conditions, since a single difference variance cannot violate sphericity.
- Normality (of residuals, not of the raw data)
If it does not hold: Non-normal residuals make the F-test (corrected or not) approximate rather than exact.
How to check: Shapiro-Wilk on the model residuals (sampled for large n), reported directly on the card.
A worked example
Reaction times measured on 24 participants under three drug doses (placebo, low, high), each participant tested at all three doses.
Result: F(2, 46) = 12.7, p < .001; Mauchly's W = 0.75, chi-square(2) = 6.33, p = .04 (sphericity violated); Greenhouse-Geisser epsilon = 0.84, corrected p < .001 (conclusion unchanged); partial eta-squared = 0.36 (large).
Reaction times differ significantly across the three doses, and although sphericity is technically violated, the Greenhouse-Geisser correction confirms the conclusion holds even after accounting for it; the large partial eta-squared indicates dose explains a substantial share of the variance remaining after individual differences between participants are removed.
From the Statistics Library.
The code tabs
Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.
Understand the statistics
Ask Oobi
Type one of these into Ask Oobi beside your data:
- Do reaction times differ across three drug doses measured on the same participants?
- Explain the repeated-measures ANOVA in plain words.
- What does sphericity mean?
Last reviewed November 16, 2026.
