This is a great question about multiple testing corrections, specifically the Benjamini-Hochberg procedure and how it differs from Bonferroni. Let me break this down comprehensively.
Benjamini-Hochberg (BH) Procedure
What is False Discovery Rate (FDR)?
First, let me clarify what FDR is. When we reject multiple hypotheses, we get some true positives (correct rejections) and some false positives (incorrect rejections).
FDR = E[V/R] where:
- V = number of false positives (Type I errors)
- R = number of total rejections
- E[.] = expectation
When R = 0, we define V/R = 0.
The FDR is the expected proportion of false discoveries among our discoveries (rejections).
The BH Procedure (Step-by-step)
Let's say we have m total tests with p-values p₁, p₂, ..., p_m
Step 1: Sort p-values
Order them from smallest to largest: p₍₁₎ ≤ p₍₂₎ ≤ ... ≤ p₍ₘ₎
Step 2: Choose significance level α
Pick a desired FDR level (e.g., α = 0.05)
Step 3: Find the threshold
Work backwards from the largest p-value. Find the largest i such that:
p₍ᵢ₎ ≤ (i/m) × α
This is the critical step. Let me explain what this means.
Step 4: Reject hypotheses
Reject all H₀₍ⱼ₎ for j = 1, 2, ..., i
Worked Example
Suppose we have 10 tests with α = 0.05:
| i | p-value | (i/m)α = (i/10)×0.05 | p ≤ threshold? |
|---|---------|---------------------|----------------|
| 1 | 0.001 | 0.005 | Yes ✓ |
| 2 | 0.003 | 0.010 | Yes ✓ |
| 3 | 0.007 | 0.015 | Yes ✓ |
| 4 | 0.012 | 0.020 | Yes ✓ |
| 5 | 0.018 | 0.025 | Yes ✓ |
| 6 | 0.032 | 0.030 | No ✗ |
Working backwards through the table, the largest index where the p-value satisfies the threshold is i = 5. So we reject the first five null hypotheses and stop there, even though we haven't checked all remaining p-values.
The threshold becomes 0.018, meaning we reject any hypothesis with a p-value at or below this value. The Benjamini-Hochberg procedure controls the false discovery rate at the specified level α through this sequential comparison method, which works under independence or positive dependence assumptions.
Under the null hypothesis, p-values follow a uniform distribution on [0,1]. The threshold grows linearly with rank position, so by the time we've ranked i tests, we'd expect roughly i null hypotheses among all m tests. This means approximately i false rejections out of R total rejections, yielding an expected FDR of roughly α. More rigorously, the procedure guarantees FDR ≤ (m₀/m) × α where m₀ counts true nulls, and since m₀ ≤ m, we get FDR ≤ α.
Bonferroni:
- Constrains the Family-Wise Error Rate (FWER)—the probability of making even a single false rejection—to stay below α
- Applies a uniform threshold of α/m across all tests without considering their ranking
- This uniformity makes it overly stringent
Benjamini-Hochberg (FDR):
- Controls FDR, the expected proportion of false discoveries among rejections
- Allows the threshold to increase with rank position, making it less restrictive
- Rejects when p₍ᵢ₎ ≤ (i/m)α
The fundamental distinction is that Bonferroni guards against any false rejection occurring, while BH permits some false discoveries as long as their expected proportion stays controlled. we can reject more while still controlling the false discovery proportion. When few or no discoveries occur, these measures either converge or become undefined—BH conventionally sets V/R = 0 when R = 0. The practical difference is stark: Bonferroni aims to prevent any false positive entirely, resulting in very conservative rejections, while BH allows some false positives as long as their expected proportion stays controlled, enabling more discoveries. For instance, if Bonferroni yields 3 rejections with 0-1 false positives, the false discovery rate could reach 33%, which wouldn't satisfy BH's stricter control at typical α levels.
In contrast, BH making 100 rejections with roughly 5 false positives maintains an expected false discovery rate of 5%, satisfying the FDR bound. The procedure itself is straightforward: sort p-values, locate the largest rank i where p₍ᵢ₎ ≤ (i/m)α, then reject all hypotheses up to that rank. This controls the expected proportion of false discoveries rather than the probability of any false discovery occurring, which is why it balances power and error control more effectively than Bonferroni's stricter approach.
Benjamini-Hochberg False Discovery Rate Control
Overview
The Benjamini-Hochberg (BH) procedure controls the False Discovery Rate (FDR), defined as:
FDR=E[RV]
where V = false positives, R = total rejections, and E[V/R] = 0 when R = 0.
The BH Procedure: Step-by-Step
Step 1: Sort P-values
Order the m p-values from smallest to largest:
p(1)≤p(2)≤⋯≤
Step 2: Choose FDR Level
Select desired α (e.g., 0.05)
Step 3: Find the Threshold
Working backwards, identify the largest index i satisfying:
p(i)≤mi×α
Step 4: Reject
Reject all null hypotheses H0(j) for j=1,2,…,i
Worked Example
10 tests, α = 0.05:
| Rank | p-value | Threshold (i/10)×0.05 | Satisfies? |
|---|
| 1 | 0.001 | 0.005 | ✓ Yes |
| 2 | 0.003 | 0.010 | ✓ Yes |
| 3 | 0.007 | 0.015 | ✓ Yes |
| 4 | 0.012 | 0.020 | ✓ Yes |
| 5 | 0.018 | 0.025 | ✓ Yes (largest) |
| 6 | 0.032 | 0.030 | ✗ No |
| 7 | 0.041 | 0.035 | ✗ No |
| ... | ... | ... | ... |
Largest qualifying i = 5, so threshold = 0.018
→ Reject all 5 hypotheses with p-values ≤ 0.018
Why BH Controls FDR
Mathematical Intuition
Under independence (or positive dependence), the BH threshold ensures:
FDR=E[RV]≤
where m0 = number of true nulls.
Key insight: The adaptive thresholds (i/m)α account for the expected number of null hypotheses among the first i ranked tests.
- At rank i, we expect ~im0/m false positives
- Among R = i total rejections, this gives proportion ~α
BH vs. Bonferroni: Fundamental Difference
| Aspect | Bonferroni | Benjamini-Hochberg |
|---|
| Controls | FWER = P(V ≥ 1) | FDR = E[V/R] |
| Meaning | Probability of ≥1 error | Expected proportion of errors |
| Type | Probability of an event | Expectation of a ratio |
| Conservativeness | Very conservative | Less conservative |
| Threshold | Same for all: p ≤ α/m | Adaptive: p ≤ (i/m)α |
The Critical Distinction
Bonferroni controls whether ANY false positive occurs:
P(one or more errors)≤α
This is stringent: it won't accept situations like "100 rejections with 5 errors" even if 5% is acceptable.
BH controls the expected proportion among rejections:
E[total rejectionsfalse rejections]≤α
This is flexible: if you make 100 discoveries with ~5 expected false, you accept 5% error rate as tolerable.
Why FDR Control is Weaker
Example scenario: 1,000 tests, 10 are truly non-null
| Procedure | # Rejections | Expected False | Control | ✓/✗ |
|---|
| Bonferroni | ~5 | ~0.001 | P(V≥1) ≈ 0% | ✓ (overly safe) |
| BH (α=0.05) | ~200 | ~10 | E[V/R] ≈ 5% | ✓ (balanced) |
Bonferroni misses discoveries to guarantee almost zero errors.
BH allows controlled errors to detect more true signals.
Key Advantages of BH
- Adaptive thresholds that increase with rank—later tests get slightly less stringent cutoffs
- More power than Bonferroni while maintaining statistical control
- Interpretable: The α level directly represents expected false discovery rate
- Appropriate for exploratory research where false discoveries are acceptable at ~α rate
When to Use Each
- Bonferroni: Critical safety (clinical decisions, confirmatory trials)
- BH: High-dimensional screening (genomics, astronomy, fMRI)