Benjamini– (BH) Procedure: Step-by-Step
The – procedure controls theFalse Discovery Rate (FDR)—the expected proportion of false positives among the rejected hypotheses.
Input:
A list ofp-valuesfrommmmhypothesis tests
DesiredFDR levelα\alphaα(e.g., 0.05)
A list ofp-valuesfrommmmhypothesis tests
DesiredFDR levelα\alphaα(e.g., 0.05)
✅Steps:
Sort the p-valuesin ascending order:p(1)≤p(2)≤⋯≤p(m)p_{(1)} \leq p_{(2)} \leq \dots \leq p_{(m)}p(1)≤p(2)≤⋯≤p(m)
Assign ranksto these sorted p-values:p(i)p_{(i)}p(i)has rankiii
Find the largest i such that:p(i)≤im⋅αp_{(i)} \leq \frac{i}{m} \cdot \alphap(i)≤mi⋅α
Reject all hypotheseswith p-values:p(1),p(2),…,p(i)p_{(1)}, p_{(2)}, \dots, p_{(i)}p(1),p(2),…,p(i)
Sort the p-valuesin ascending order:p(1)≤p(2)≤⋯≤p(m)p_{(1)} \leq p_{(2)} \leq \dots \leq p_{(m)}p(1)≤p(2)≤⋯≤p(m)
Assign ranksto these sorted p-values:p(i)p_{(i)}p(i)has rankiii
Find the largest i such that:
Reject all hypotheseswith p-values:
🎯Intuition:
It finds a “cutoff” line that gets higher as you go down the list of p-values. You reject everything before that line. This balancesfinding real effectswhilelimiting false discoveries.
💡 Example:
Suppose you have 5 p-values:0.003,0.012,0.018,0.041,0.1200.003, 0.012, 0.018, 0.041, 0.1200.003,0.012,0.018,0.041,0.120,andα=0.05\alpha = 0.05α=0.05
['', 'p-valuep(i)p_{(i)}p(i)\u200b', 'im⋅α\frac{i}{m} \cdot \alphami\u200b⋅α', 'Decision']
['1', '0.003', '0.01', 'Reject']
['2', '0.012', '0.02', 'Reject']
['3', '<DATE_TIME>, '0.03', 'Reject']
['4', '0.041', '0.04', 'Reject']
['5', '0.120', '0.05', 'Do not reject']
Here, the largestiiiwherep(i)≤i5⋅0.05p_{(i)} \leq \frac{i}{5} \cdot 0.05p(i)≤5i⋅0.05isi=4i = 4i=4.So, reject the first 4 hypotheses.
📌 Summary:
Benjamini–Hochbergcontrols therateof false positives, not just the chance of one.
It’sless strictthan .
Great forlarge-scale testingwhere you expect some false positives but want to limit their proportion.
Benjamini–Hochbergcontrols therateof false positives, not just the chance of one.
It’sless strictthan .
Great forlarge-scale testingwhere you expect some false positives but want to limit their proportion.