One-Way ANOVA
One-way ANOVA for three or more groups typed one per line: F, p-value, critical F, the ANOVA table, η² and ω², group means and SDs, Bonferroni pairwise tests.
Between- and within-group sums of squares, degrees of freedom, mean squares, F, p and the critical F at your α, effect sizes, each group’s n, mean, SD and SE, and which pairs differ after Bonferroni.
Example: A: 12, 15, 14, 11 · B: 18, 20, 17, 19 · C: 13, 14, 12, 15 → F(2, 9) = 16.65, p = 0.0009, critical 4.26 at α 0.05, η² 0.79; B differs from A (p 0.011) and C (p 0.005), A and C do not.
Variation between groups
against variation within.
How the ANOVA table is built, where the p-value comes from, and what the post-hoc step does.
The table
Every value's distance from the grand mean splits into two parts: its group's distance from the grand mean and its own distance from the group mean. Summed and squared these are SS_between = Σ nᵢ(x̄ᵢ − x̄)² and SS_within = Σ(x − x̄ᵢ)², adding to SS_total. Divided by their degrees of freedom (k − 1 and N − k) they become mean squares, and F = MS_between ÷ MS_within. If the group means are all equal, F is around 1; means that differ push it up.
p, critical F and effect size
The p-value is the upper tail of the F distribution with (k − 1, N − k) degrees of freedom, computed through the regularised incomplete beta function; the critical F at your α is found by inverting the same function. η² = SS_between ÷ SS_total is the share of the variance explained by group membership; ω² corrects its optimism for small samples. The classic test assumes roughly normal groups with similar spread — the page reports the ratio of the largest to smallest SD and flags it above 2 — and independent observations.
Which groups differ
A significant F says at least one mean differs, not which. As a simple post-hoc step the page runs a Welch t-test on every pair (no equal-variance assumption) and multiplies each p by the number of pairs (Bonferroni), a conservative correction. Tukey HSD, the usual alternative, needs the studentized range distribution and is not computed here. With two groups the test reduces to a t-test (F = t²). Nothing leaves the browser; the same four anonymous usage counts as the rest of the site apply.
SOURCES
- SS_b = Σ nᵢ(x̄ᵢ − x̄)², SS_w = Σ Σ (x − x̄ᵢ)², F = MS_b ÷ MS_w, p from the F distribution (regularised incomplete beta); η² = SS_b ÷ SS_t, ω² = (SS_b − df_b·MS_w) ÷ (SS_t + MS_w); Welch t × m pairs
Last reviewed 22 September 2026. How results are checked: How we verify.