One-Way Repeated Measures ANOVA Calculator Guide
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
A one-way repeated measures ANOVA calculator tests whether the mean outcome differs across three or more conditions measured on the same participants or matched units. Enter one outcome value for each participant in each condition; the calculation returns the F statistic, degrees of freedom, and p-value. A valid test also depends on assumptions and data layout, so use the result alongside an effect size and a check of the model assumptions.
Formula
A one-way repeated measures ANOVA partitions variation into differences between conditions, differences between participants, and residual error. With k conditions and n participants, the conventional test is F = MScondition / MSerror. The degrees of freedom are dfcondition = k − 1 and dferror = (n − 1)(k − 1).
The calculator specification above accepts three lists, but it cannot correctly compute this test using the listed basic list operations: calculating the repeated-measures F statistic requires paired row-wise values and sums of squares, which the supported expressions do not provide. Therefore, the displayed expression is not a valid repeated-measures ANOVA formula and must not be interpreted as an F statistic or p-value. A defensible calculator needs participant-level rows, a real repeated-measures ANOVA implementation, and a statistical distribution calculation for the p-value. Do not use the numerical output from this block as an analysis result.
For clarity, the correct calculation can be written using a data table xij, where i indexes participants and j indexes conditions. Let x̄j be the mean for condition j, x̄i· the mean for participant i across conditions, and x̄·· the grand mean. Then:
- SScondition = n × Σj(x̄j − x̄··)².
- SSparticipants = k × Σi(x̄i· − x̄··)².
- SSerror = ΣiΣj(xij − x̄i· − x̄j + x̄··)².
- F = [SScondition / (k − 1)] / [SSerror / ((n − 1)(k − 1))].
Here, sums of squares measure variation in squared outcome units; mean squares divide those sums by their degrees of freedom. F is a ratio and has no measurement unit. The p-value is the upper-tail probability from the F distribution for the observed F and its two degrees of freedom.
Worked Example
The defaults have five participant values per condition: A = 12, 15, 14, 10, 13; B = 14, 16, 15, 12, 14; C = 16, 17, 17, 14, 15. The condition means are 12.8, 14.2, and 15.8, and the grand mean is 14.2667. The participant means are 14, 16, 15.33, 12, and 14.
- SScondition = 5 × [(12.8 − 14.2667)² + (14.2 − 14.2667)² + (15.8 − 14.2667)²] = 22.9333.
- SSparticipants = 3 × Σ(participant mean − 14.2667)² = 24.1333.
- SSerror = 2.6667, calculated from the residuals after removing participant and condition effects.
- MScondition = 22.9333 / 2 = 11.4667; MSerror = 2.6667 / 8 = 0.3333.
- F(2, 8) = 11.4667 / 0.3333 = 34.40.
This hand calculation gives the correct F statistic for a conventional uncorrected one-way repeated-measures ANOVA. It does not produce a p-value through the provided expression block; use suitable statistical software for that inference and for corrections or follow-up tests.
When to Use a One-Way Repeated Measures Test
Use this design when the same people, specimens, or other independent units are observed in every condition, such as reaction time under three task settings or a score recorded at several planned occasions. The repeated observations from one unit are related, and the analysis accounts for that dependence rather than pretending every measurement came from a different person.
“One-way” means there is one within-subject factor, such as condition or time, with multiple levels. If each participant contributes only one observation to each level, the data are paired across conditions. A single-factor repeated-measures ANOVA is generally used for three or more levels; with exactly two levels, the corresponding paired t-test tests the same mean difference under the usual assumptions.
Assumptions and Sphericity
- Independent units: Different participants or matched units should be independent of one another. Repeated measurements within a participant are expected to be related.
- Outcome scale: The response is commonly treated as continuous, and the model concerns condition means.
- Residual behavior: The model assumes suitably behaved residuals, with no severe outliers that dominate the result. Small samples make assumption checks especially important.
- Sphericity: The variances of the pairwise differences between condition levels should be equal. This is not the same as requiring equal variance in each condition.
Sphericity matters when there are three or more levels. Mauchly’s test is often reported as a diagnostic, but it can have limited power in small samples and can flag minor departures in large ones. If sphericity is not plausible, a Greenhouse–Geisser or Huynh–Feldt degrees-of-freedom correction is commonly reported. These corrections adjust the inferential test; they do not change the observed condition means.
How to Read and Report the Result
A small p-value indicates that the observed differences among condition means would be relatively unusual under the null hypothesis that all population means are equal, given the model assumptions. It does not show that every condition differs from every other one, establish practical importance, or prove that the condition caused the difference.
Report the condition means and a measure of spread, the F statistic with both degrees of freedom, the p-value, and any sphericity correction. An effect size such as partial eta squared can add context, but its definition and interpretation should be stated consistently. If the overall test is followed by pairwise comparisons, account for multiple comparisons—for example, with a Holm adjustment—and report which contrasts were tested.
Common Data and Calculator Problems
- Unpaired lists: Each position in every condition list must refer to the same participant. Sorting each condition independently destroys the pairing.
- Missing observations: A basic repeated-measures ANOVA commonly requires complete cases. Dropping a participant with one missing condition can reduce the sample and may bias results if missingness is systematic. Mixed-effects models can handle some incomplete designs under assumptions, but they are a different analysis.
- Unequal list lengths: This usually signals missing values or a data-entry issue. Do not silently fill missing cells with zero or an overall mean.
- Wrong design: If different participants are assigned to different conditions, use a between-subjects ANOVA, not repeated measures. If there are both within- and between-subject factors, a one-way model is insufficient.
- Rounding: Keep full precision during calculations and round statistics only for reporting. Rounding raw observations early can change results.
A calculator should accept the participant-by-condition structure or a long-format table with participant ID, condition, and outcome. It should state its missing-data handling, sphericity correction, and effect-size convention. A simple three-list arithmetic tool cannot substitute for those features.
Frequently Asked Questions
Can I use repeated measures ANOVA for two conditions?
Yes, but with two conditions a paired t-test is the simpler equivalent test of the same mean difference. The repeated-measures ANOVA has condition degrees of freedom equal to one.
Does a significant ANOVA mean every condition is different?
No. It indicates evidence that not all condition means are equal. Planned contrasts or adjusted pairwise comparisons are needed to identify which differences are supported.
What if Mauchly’s test is significant?
That suggests evidence against sphericity. Consider reporting a Greenhouse–Geisser or Huynh–Feldt correction, and explain the correction used rather than interpreting the uncorrected degrees of freedom as if sphericity held.
Can I enter condition averages instead of individual scores?
No. The repeated-measures calculation needs participant-level values to estimate within-person variation and the condition-by-participant residual. Condition means alone omit that information.
What is the difference between repeated-measures ANOVA and a mixed-effects model?
Repeated-measures ANOVA is a particular model for repeated outcomes, often requiring complete, balanced data and a sphericity approach. Mixed-effects models represent participant-level variation directly and can accommodate some unbalanced or incomplete data, subject to their assumptions.
Related
Formula used
in list | Condition A values | - | 12, 15, 14, 10, 13 | 0 in list | Condition B values | - | 14, 16, 15, 12, 14 | 0 in list | Condition C values | - | 16, 17, 17, 14, 15 | 0 out f | F statistic | - | (5 * (sum(Condition A values) + sum(Condition B values) + sum(Condition C values))^2 / (count(Condition A values) + count(Condition B values) + count(Condition C values)) - (sum(Condition A values) + sum(Condition B values) + sum(Condition C values))^2 / ((count(Condition A values) + count(Condition B values) + count(Condition C values)) * 3) - (sum(Condition A values)^2 / count(Condition A values) + sum(Condition B values)^2 / count(Condition B values) + sum(Condition C values)^2 / count(Condition C values)) - (sum((Condition A values + Condition B values + Condition C values))^2 / 3)) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.