Repeated-measures ANOVA tests whether an average changes across repeated measurements on the same people, such as at the start, middle, and end of a study. This guide covers sphericity, effect size, follow-up tests, and how to run it in AnalyZ Solutions.
The paired t-test compares two measurements on the same people. Repeated-measures ANOVA applies the same logic to any number of measurements. With two it gives the same answer as the paired t-test, and its advantage shows with three or more. A course might measure students' confidence scores at the start, middle, and end of a term. Each student provides three scores, and those scores are linked because they come from the same student.
The test separates three sources of variation: differences between the time points, differences between students, and leftover variation that neither explains. Because stable differences between students are removed from the comparison, the test can pick up a pattern of change with far fewer students than an independent-groups design would need.
Use it when the outcome is numeric and approximately normal, each subject is measured under two or more conditions or time points, and you want to know whether the average changes across them. Conditions can be time points, or different treatments given to the same people, such as three versions of a message tested on the same participants.
With exactly two measurements, the paired t-test gives the same answer and is the usual choice. If the outcome is ordinal or strongly skewed, use the Friedman test, which is the rank-based counterpart. If subjects are nested in clusters such as schools and measured repeatedly, multilevel regression handles both layers.
In addition to the usual assumptions, repeated-measures ANOVA assumes sphericity: the differences between every pair of time points should have similar variability. This is easily violated in real data, particularly when time points are far apart, because measurements close together in time tend to correlate more strongly than those far apart.
Mauchly's W is a summary of how well sphericity holds. Values close to 1 indicate the assumption is reasonable. Lower values indicate a possible violation, which makes the F test too generous.
AnalyZ Solutions reports Mauchly's W with a plain note. When it is high, the note says sphericity is likely met. When it is low, the note warns you and the interpretation repeats the warning. The module does not apply a Greenhouse-Geisser correction, so when W is low, read a borderline result with caution or use the Friedman test as a cross-check, since it makes no sphericity assumption.
The table has rows for the condition effect, the subjects, and the error. The row that matters is the condition effect. Its F statistic and significance level tell you whether the average differs across the time points. A significant result says at least one time point differs from another.
Partial eta-squared shows the share of variation, after removing between-subject differences, that the time points explain. Below 1% is negligible, 1% to 6% small, 6% to 14% medium, and above 14% large.
When the overall test is significant, and the post-hoc box is ticked, the module runs paired t-tests between every pair of time points with a Bonferroni adjustment. The adjustment multiplies each significance value by the number of comparisons, so the stated level already accounts for the number of pairs.
Open Inferential Analysis, choose Compare Means, then Repeated-Measures ANOVA.
Only subjects with values for every selected time point are included. At least five complete subjects are required.
The figures below are invented to show the steps, and they follow the results tables in AnalyZ Solutions, with a few columns left out to save space. Suppose 24 students rated their confidence on a 1 to 5 scale at the start, middle, and end of a term.
| Condition | N | Mean | SD | Median |
|---|---|---|---|---|
| Round 1 | 24 | 3.125 | 0.923 | 3.227 |
| Round 2 | 24 | 3.686 | 0.815 | 3.887 |
| Round 3 | 24 | 3.680 | 0.811 | 3.631 |
| Source | SS | df | MS | F | p-value | Sig | partial eta² |
|---|---|---|---|---|---|---|---|
| Condition | 4.976 | 2 | 2.488 | 17.6798 | < 0.001 | *** | 0.435 |
| Subjects | 43.522 | 23 | 1.892 | ||||
| Error | 6.474 | 46 | 0.141 |
| Condition 1 | Condition 2 | Mean diff | SE | t | p (adjusted) | Sig |
|---|---|---|---|---|---|---|
| Round 1 | Round 2 | 0.561 | 0.121 | 4.626 | < 0.001 | *** |
| Round 1 | Round 3 | 0.555 | 0.109 | 5.089 | < 0.001 | *** |
| Round 2 | Round 3 | -0.006 | 0.093 | -0.065 | 1.0000 | ns |
Confidence rose across the term. Most of the increase happened between the first and second rounds, and scores then held steady until the end. The change is large and significant at the 0.1% level. The sphericity warning was noted and did not affect the conclusion. Without a comparison group, the rise cannot be credited to the course itself.
Ignoring sphericity. Report the note and be cautious when it signals a problem.
Using long-format data. The module expects one column per time point. Reshape the data if each row holds a single observation.
Reading a significant result as a steady trend. The test says the averages differ, not that they rise or fall in a straight line.
Assuming change was caused by a treatment. Without a comparison group, change across rounds may reflect season, inflation, or other events.
Open Compare Means in AnalyZ Solutions. Free to sign up, free to analyze.
Get started