ANOVA: Analysis of Variance
Problem
Three teaching methods give scores: A={85,90,88}, B={78,82,80}, C={92,95,88}. Are means different?
Explanation
What is ANOVA?
ANOVA tests whether the means of three or more groups are significantly different. Instead of running multiple t-tests (which inflates error), ANOVA tests them all at once.
The key idea
ANOVA compares two types of variation:
- Between-group variation: How much do the group means differ from each other?
- Within-group variation: How much do values within each group vary?
If is large → the groups are significantly different.
Step-by-step
Groups: A = {85, 90, 88}, B = {78, 82, 80}, C = {92, 95, 88}
Step 1 — Group means: , , . Overall mean .
Step 2 — Between-group SS:
Step 3 — Within-group SS: Compute deviations within each group:
Step 4 — F-statistic: , .
Step 5 — Critical value at : .
→ Reject . The teaching methods produce significantly different results.
Try it in the visualization
Three groups of data points are displayed. The between-group and within-group variations are shown visually. The F-statistic is computed and compared to the critical value.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.