11/17
Part 5 of 7 · Many tests at onceLearn and do

Benjamini-Hochberg keeps the largest rank that passes

Benjamini-Hochberg works on ranks too, with a different rule: it finds the largest rank whose p-value is at most k/m × q, and rejects everything up to it, even past an earlier miss.

Four p-values at q = 0.05:

Rank kpBar, k/m × q
10.010.0125passes
20.030.025misses
30.0350.0375passes
40.50.05misses

The largest rank that passes is 3, so the three smallest are rejected, the 0.03 included. Holm would have stopped at rank 2.

In the editor, write benjamini_hochberg(ps, q). It prints what it rejects for the dashboard's ten p-values.