ANOVA (Analysis of Variance) › The Multiple Comparisons Problem
Machine Learning from ScratchAll chapters ANOVA (Analysis of Variance) › The Multiple Comparisons ProblemOne section · Sections in this chapter2 / 13 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Before diving into ANOVA, let's understand exactly why multiple t-tests fail.
When you conduct a single hypothesis test at , you accept a 5% chance of a Type I error (false positive) when the null is true. But with multiple tests, each test adds another opportunity for error.
The probability of at least one false positive across independent tests is:
For :
| Number of Groups | Pairwise Comparisons | P(At least one Type I error) |
|---|---|---|
| 3 | 3 | 14.3% |
| 4 | 6 | 26.5% |
| 5 | 10 | 40.1% |
| 10 | 45 | 90.1% |
This explosion of false positives makes multiple t-tests unreliable. ANOVA solves this by asking a single question: "Do any of the group means differ?" rather than asking many questions about specific pairs.
