Explaining the BH procedure and FDR control
The BH procedure sorts m p-values and selects the largest k with p(k) ≤ q·k/m, then rejects all hypotheses with p(i) ≤ p(k), controlling the false discovery rate (FDR), the expected proportion of false positives among rejections. This differs from Bonferroni’s familywise error rate (FWER) control, which limits the probability of any false positives using a fixed threshold q/m. BH’s step-up linear threshold allows more rejections while bounding the expected false discovery proportion, gaining power by controlling E(V/R) rather than P(V≥1). Intuitively, under independence and uniform null p-values, the expected false discoveries among rejections at threshold p(k) are ≤ m₀·p(k) ≤ m₀·q·k/m ≤ q·k ≤ q·R, ensuring FDR ≤ q. This approach enables more flexible rejection criteria than Bonferroni’s conservative fixed cutoff.
Suppose you test (m) null hypotheses and obtain (p)–values (p_1,\dots,p_m). Fix a target false discovery rate (q\in(0,1)).
The Benjamini–Hochberg “step–up” procedure works as follows:
-
Order the (p)–values from smallest to largest, (p_{(1)}\leq p_{(2)}\leq\cdots\leq p_{(m)}).
-
For each rank (i) compute the linear bound (q\cdot i/m). Find the largest index
[
k = \max\Bigl{i : p_{(i)} \leq \frac{q,i}{m}\Bigr}.
]
-
Reject all null hypotheses with (p)–values (p_{(1)},\dots,p_{(k)}).
A convenient graphical way to see this is to plot the ordered (p)–values against (i/m) and draw the line (y=q\cdot x); the largest point below the line determines the cut–off.
The quantity BH controls is the false discovery rate, (\mathrm{FDR} = \mathbb{E}[V/R]), where (V) is the number of true nulls you reject and (R) is the total number of rejections (with (V/R) defined as (0) when (R=0)). Under independence or certain positive dependence conditions, the (p)–values from true nulls are Uniform((0,1)), so the expected number of them below a threshold (t) is (m_0,t), where (m_0\leq m) is the number of true nulls. At the BH cut–off we have (t = p_{(k)}\leq q k/m), and (k) is exactly (R). Thus
[
\mathbb{E}\left[\frac{V}{R},\bigg|,R=k\right] \approx \frac{m_0,t}{k} \leq \frac{m_0}{m},q \leq q,
]
and taking expectations over (R) gives (\mathrm{FDR}\leq q). Because it only constrains the expected proportion (V/R), the thresholds increase with (i), allowing many small (p)–values to be called significant when there is a strong signal.
By contrast, Bonferroni controls the familywise error rate (\Pr(V\geq 1)) by using a fixed threshold (\alpha/m) and rejecting anything below that. This keeps the probability of even a single false positive below (\alpha) in all configurations, but it is very conservative when many hypotheses are truly alternative. The BH procedure is less stringent because it is designed to bound the average fraction of false positives among the discoveries, not to preclude all false positives, and therefore has greater power to detect real effects in large–scale testing.