Testing Many Things at Once
Run 200 tests where nothing is real and still publish a finding — then watch Bonferroni and Benjamini–Hochberg trade power for error control.
Controls
The rest are exactly null.
Mean of the z-statistic under the alternative.
Long-run error rates are averaged over this many independent studies.
Every result on this page is a deterministic function of the seed and the controls.
One study, sorted p-values
Bonferroni is a flat line; Benjamini–Hochberg is a ramp — the largest crossing wins.
Null p-values are uniform
Only the truly null tests, this study.
False discoveries per study
Across 200 replicate studies under No correction.
FWER is the probability of at least one false positive anywhere in the study. FDR is the expected fraction of the discoveries you report that are false. Bonferroni controls the first and is conservative; BH controls the second and keeps far more power.
