Direct answer
ANOVA partitions modeled variation to compare group means, while Kruskal–Wallis and Friedman use ranks for independent-group and repeated-block designs; the appropriate method follows the sampling structure and estimand.
Visual explanation
Between-group and within-group variation
What this calculation tells you
Multi-group methods control one planned global comparison rather than running many unadjusted pairwise tests. Their statistics summarize between-condition evidence relative to residual or rank variation.
Identify independent groups, blocks, repeated units, factors, interactions, outcome scale, and the parameter or distributional effect of interest before selecting a method.
Where it is used
Experiments
Compare several planned conditions in one coherent model.
Quality
Compare process groups while separating residual variation.
Agriculture and field trials
Represent blocks and factors without discarding design structure.
Education
Connect sums of squares, ranks, and study layouts visually.
When this guide helps
- Comparing three or more independent groups.
- Analyzing repeated conditions on the same units.
- Testing two factors and interaction.
- Choosing a rank-based multi-group method.
Start with the statistical question
Identify independent groups, blocks, repeated units, factors, interactions, outcome scale, and the parameter or distributional effect of interest before selecting a method.
Three group clouds feed into between- and within-group variation. Parallel panels show independent groups, repeated connected profiles, and a two-factor grid with an interaction crossing.
Worked example
A one-way ANOVA can reject equality among four means without saying which pair differs. Planned contrasts or multiplicity-aware follow-up comparisons must answer those narrower questions.
Assumptions that carry the result
Classical ANOVA relies on a suitable linear model and residual assumptions. Kruskal–Wallis assumes independent groups and interprets rank shifts; Friedman assumes matched blocks or repeated units.
Interpret the result without overreaching
An omnibus p-value does not measure effect magnitude, validate causal design, establish every pairwise difference, or justify ignoring interaction and repeated structure.
- Running all pairwise t tests without multiplicity planning.
- Using one-way ANOVA for repeated observations.
- Calling a rank-test result a mean difference automatically.
Worked case: three group means
Groups are A: 4, 5, 6; B: 7, 8, 9; C: 4, 8, 12.
Means are 5, 8 and 8, but group C has much larger within-group spread.
Equal means for B and C do not imply equal distributions.
ANOVA interpretation depends on independence, model and variance assumptions.
Reproduce this worked caseOpen One-Way ANOVA Calculator
Worked case: repeated observations
The same participants appear under three conditions.
A repeated-measures or matched nonparametric method is needed to retain within-person dependence.
Ordinary one-way independent ANOVA would use the wrong error structure.
Test selection follows design, not only number of columns.
Reproduce this worked caseOpen One-Way ANOVA Calculator
multi-group comparisons: compare assumptions, not just answers
A significant omnibus test does not identify which groups differ. Plan contrasts, multiplicity control and effect sizes.
| Case | Calculation focus | Interpretation |
|---|---|---|
| Independent groups | Between vs within spread | One-way family |
| Same people | Repeated dependence | Repeated-measures family |
multi-group comparisons: calculation checklist
- Design independence retained
- Spread inspected
- Omnibus/contrast separated
- Multiplicity controlled
- Effect sizes reported
Practical questions
Frequently asked questions
Does significant ANOVA mean every group differs?
No. It rejects the specified global equality model; follow-up comparisons require their own estimands and multiplicity control.
Is Kruskal–Wallis a median test?
Not automatically. It tests rank-distribution differences; a location-shift interpretation requires comparable shapes and other assumptions.
What is an interaction?
It means the modeled effect of one factor differs across levels of another, so main effects alone may be incomplete.
Further reading
Authoritative sources
Use these primary and professional resources to check definitions, conventions, or requirements that may extend beyond this guide.
