One-Way ANOVA Calculator
Compare the means of several independent groups by one-way ANOVA, with the full ANOVA table, F, p-value, effect sizes η² and ω², Levene's test and a summary of each group.
Formula
- mean square: a sum of squares divided by its degrees of freedom
- the share of the total variance associated with the group, and a less biased estimate of it
How it works
One-way ANOVA compares three or more group means. It splits the total variation into variation between group means and variation within groups. If the group means are equal, the ratio of the two mean squares, F, is expected to be near one; a large F says the means differ by more than the scatter within groups makes likely.
The F test says that not all the means are equal, but not which ones differ. Comparing individual pairs afterwards needs a procedure that controls the error rate across the comparisons, such as Tukey's HSD, which is not included here; running unadjusted t-tests on every pair inflates false positives. Levene's test is shown as a check on the equal-variance assumption.
Worked example
Three groups: control (n = 4, mean 4.65), low dose (n = 5, mean 5.94) and high dose (n = 3, mean 7.00).
- SSbetween = 9.70 (2 df) and SSwithin = 1.22 (9 df), so MSbetween = 4.85 and MSwithin = 0.136.
- F(2, 9) = 35.72, p < 0.0001; η² = 0.888, ω² = 0.853.
- Levene's test: F(2, 9) = 0.098, p = 0.91.
The group means are not all equal, with a large effect (η² = 0.89), and there is no sign of unequal variances.
These are the values the calculator opens with, so you can check its output against this example.
Assumptions
- Independent observations, in independent groups.
- Roughly normal values within each group.
- Similar variances across groups (Levene's test is a rough check only, since it has little power with small groups).
Common mistakes
- Reading a small p-value as showing that every group differs.
- Running t-tests on all pairs without adjusting for the number of comparisons.
- Using it for repeated measures on the same subjects, which are not independent.