Concept
ANOVA tests whether at least one group mean differs. It compares between-group variability to within-group variability:
If ANOVA is significant, you typically follow with post-hoc comparisons (e.g., Tukey) to identify which groups differ.
Interactive: simulate 3 treatments
Adjust group means/spreads and see how separation affects between-group vs within-group variation.
Group distributions (samples)
When groups overlap heavily, ANOVA is less likely to find differences.
Real Dental Scenario: Whitening Treatment Sensitivity
One-way ANOVA with animated walkthrough
Study Design
A dental clinic compares tooth sensitivity scores (0-10 scale) across 3 whitening treatments. 30 patients are randomly assigned (10 per group). The question: do the treatments differ in how much sensitivity they cause?
3, 4, 5, 3, 4, 5, 6, 4, 3, 5
Low-concentration peroxide gel
5, 6, 7, 6, 5, 7, 8, 6, 7, 5
High-concentration peroxide gel
2, 3, 2, 3, 4, 2, 3, 3, 2, 4
LED-activated whitening
Group Means & Grand Mean
Sum of Squares Between (SSB)
SSB measures how much the group means vary around the grand mean.
Sum of Squares Within (SSW)
SSW measures natural variation within each treatment group.
Mean Squares & F-Statistic
Complete ANOVA Table
| Source | SS | df | MS | F | Significance |
|---|---|---|---|---|---|
| Between Groups | 58.40 | 2 | 29.20 | 33.14 | p < 0.001 |
| Within Groups | 23.80 | 27 | 0.881 | - | - |
| Total | 82.20 | 29 | - | - | - |
Conclusion & Clinical Interpretation
Result: F(2, 27) = 33.14, p < 0.001. There is a statistically significant difference in tooth sensitivity scores across the three whitening treatments.
Post-hoc tests (e.g., Tukey HSD) would be needed to confirm which specific pairs of treatments differ significantly.
Dental example
Comparing mean caries score across 3 fluoride regimens is classic one-way ANOVA. If significant, use post-hoc testing to see which regimens differ.