100 true null hypotheses: how many come out “significant”?
Each tile is one study. In every single one, there is no effect (H0 is true). Press the button and watch which tiles are nevertheless “significant”.
Significance level
This run
– of 100 significant
Press “Run 100 new tests”.
Expected by chance alone
4
100 × 0.04
Chance of at least one “finding”
98.3 %
1 − 0.96100. Your runs so far: –
How many significant results per run?
Every run adds one dot. From 10 runs on, the dots become a histogram of relative frequencies.
your runs
theory: binomial distribution Bin(100, α)
Table of the significant tests in the current run
| Test no. | p-value |
|---|
Every single test has only an α chance of a false alarm. But with 100 tests, at least one false alarm is almost certain, and the average run produces about 100 × α of them. If only those tiles were reported, they would look like discoveries. This is the multiple-testing problem behind p-hacking. (Under H0 a p-value is uniformly distributed between 0 and 1, which is exactly what is simulated here.)