Family-Wise Error Rate
& Bonferroni Correction
Understand why multiple comparisons inflate your Type I error and how the Bonferroni correction keeps your conclusions honest.
What Is a Type I Error?
A Type I error occurs when we reject a true null hypothesis: we declare a result statistically significant when nothing real is happening. It is a false positive.
The Multiple Comparisons Problem
Suppose you compare 4 group means pairwise. That yields \( \binom{4}{2} = 6 \) tests. Each has a 5 % false-positive risk. The chance that at least one test is a false positive is far larger than 5 %.
Defining Family-Wise Error Rate
The Family-Wise Error Rate (FWER) is the probability of making at least one Type I error across a family of hypothesis tests performed together.
The FWER Formula
If we conduct \( m \) independent tests at significance level \( \alpha \), the probability of zero false positives is \( (1-\alpha)^m \). Therefore:
Why FWER Matters
Without controlling FWER, research becomes unreliable. Running 20 tests at \( \alpha = 0.05 \) yields a 64 % chance of at least one false positive, even when every null hypothesis is true.
The Bonferroni Correction
The Bonferroni correction is the simplest and most widely used method to control FWER. The idea: divide the significance level by the number of tests.
Reject a null hypothesis only if its p-value \( \leq \alpha / m \). Equivalently, you can multiply each p-value by \( m \) and compare to the original \( \alpha \).
Why It Works: Boole's Inequality
The Bonferroni correction relies on the union bound (Boole's inequality), which holds regardless of whether the tests are dependent:
Per-Comparison vs FWER vs FDR
| Per-Comparison | FWER | FDR | |
|---|---|---|---|
| Controls | Error rate per test | Any false positive in family | Proportion of false discoveries |
| Threshold | \( \alpha \) | \( \alpha / m \) (Bonferroni) | Adaptive (BH procedure) |
| Strictness | Least strict | Most strict | Moderate |
| Power | Highest | Lowest | In between |
| Best for | Single test | Small families, high stakes | Large-scale screening |
How to Apply the Bonferroni Correction
Example 1: Three-Group ANOVA Follow-Up
An ANOVA on 3 groups (A, B, C) is significant. We perform \( \binom{3}{2} = 3 \) pairwise t-tests at \( \alpha = 0.05 \).
| Comparison | p-value | Decision |
|---|---|---|
| A vs. B | 0.003 | Reject (\( 0.003 < 0.0167 \)) |
| A vs. C | 0.042 | Fail to reject (\( 0.042 > 0.0167 \)) |
| B vs. C | 0.011 | Reject (\( 0.011 < 0.0167 \)) |
Example 2: The Adjusted p-Value Method
An equivalent approach: instead of adjusting the threshold, multiply each p-value by \( m \) and compare to the original \( \alpha \).
| Comparison | Raw \( p \) | Adjusted \( p \) | Decision (\( \alpha = 0.05 \)) |
|---|---|---|---|
| A vs. B | 0.003 | 0.009 | Reject |
| A vs. C | 0.042 | 0.126 | Fail to reject |
| B vs. C | 0.011 | 0.033 | Reject |
Both approaches always yield identical decisions. Reporting adjusted p-values is often more informative for the reader.
Example 3: A Larger Family (\( m = 10 \))
A researcher tests 10 hypotheses at \( \alpha = 0.05 \). The Bonferroni threshold becomes \( 0.05 / 10 = \) 0.005.
The Power Trade-Off
Bonferroni's conservatism comes at a cost: statistical power decreases as \( m \) grows. A stricter threshold means more true effects go undetected (higher Type II error rate).
Common Mistakes
Summary of Correction Methods
| Method | Controls | Threshold | Strength |
|---|---|---|---|
| Bonferroni | FWER | \( \alpha / m \) | Simple, always valid |
| Sidak | FWER | \( 1-(1-\alpha)^{1/m} \) | Slightly less conservative |
| Holm | FWER | Stepwise: \( \alpha/(m-k+1) \) | Uniformly more powerful |
| Benjamini-Hochberg | FDR | Rank-based adaptive | Best for large \( m \) |
Question 1 of 5
A researcher conducts 10 independent tests at \( \alpha = 0.05 \) without any correction. What is the approximate FWER?
Question 2 of 5
Using Bonferroni with \( \alpha = 0.05 \) and \( m = 5 \), a comparison yields a p-value of 0.012. What is the correct decision?
Question 3 of 5
Which mathematical result guarantees that the Bonferroni correction controls FWER, even for dependent tests?
Question 4 of 5
A study has \( m = 4 \) tests with raw p-values: 0.002, 0.018, 0.041, 0.063. Using the Bonferroni adjusted p-value method (\( p_{\text{adj}} = m \cdot p \)), how many hypotheses are rejected at \( \alpha = 0.05 \)?
Question 5 of 5
When \( m \) is very large (e.g., thousands of tests in a genomics study), which limitation makes Bonferroni less suitable than FDR-based methods?