01 / 21

Family-Wise Error Rate
& Bonferroni Correction

Understand why multiple comparisons inflate your Type I error and how the Bonferroni correction keeps your conclusions honest.

Statistics

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.

\( \alpha \)
Probability of a Type I error on one test (e.g., 0.05)
False Positive
Claiming an effect exists when it does not

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 %.

A B C D 6 pairwise comparisons FWER ≈ 26.5 % (not 5 %!)
each at \( \alpha = 0.05 \)

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.

Per-comparison \( \alpha \)
Error rate for a single test: typically \( 0.05 \)
FWER
Error rate across the entire family of \( m \) tests

The FWER Formula

If we conduct \( m \) independent tests at significance level \( \alpha \), the probability of zero false positives is \( (1-\alpha)^m \). Therefore:

0 0.5 1.0 0 5 10 15 20 25 Number of tests (m) FWER 0.05 m = 6: 0.265 m = 20: 0.642

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.

1
Clinical trials: falsely declaring a drug effective can harm patients.
2
Genomics: testing thousands of genes means thousands of chances for false discoveries.
3
Psychology: comparing many conditions inflates spurious "significant" findings.

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:

No independence needed
Works even for correlated tests, making it very general
Conservative
The bound is an inequality: actual FWER may be well below \( \alpha \)

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

1
Identify the family: decide which tests belong to the same analytical question.
2
Count tests: determine \( m \), the total number of comparisons.
3
Compute adjusted threshold: \( \alpha_{\text{adj}} = \alpha / m \).
4
Run each test: obtain individual p-values \( p_1, p_2, \ldots, p_m \).
5
Decision: reject \( H_{0i} \) if \( p_i \leq \alpha / m \). Otherwise, fail to reject.

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.

Test number p-value 0 0.05
\( \alpha/m = 0.005 \)
\( \alpha = 0.05 \)
1 2 3 4 5 6 7 8 9 10

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).

Number of tests (m) Power 0 0.5 1.0 1 5 10 15 20 25 No correction Bonferroni

Common Mistakes

✕ Ignoring multiple testing
Reporting all p-values at \( \alpha = 0.05 \) without any correction inflates false positives dramatically.
✕ Wrong family definition
Counting only some comparisons as a "family" while excluding related tests. All tests answering the same question belong together.
✕ Bonferroni for huge \( m \)
With thousands of tests, the threshold becomes so tiny that almost nothing is significant. Use FDR methods instead.

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?