"With enough comparisons, the bell curve will hand you significance by accident. The replication crisis is what happens when this is mistaken for discovery."
The Mechanism
Under a true null hypothesis, ~5% of statistical tests come up p < 0.05 by random chance alone (the Type I error rate at α = 0.05). If you run 20 independent tests against the null, expectation is one of them will be 'significant' even though nothing real is happening.
'P-hacking' is exploiting this — explicitly or accidentally — by running many tests, choosing the one that hit p < 0.05, and reporting only that one. Once that selection process is hidden, the reported p-value no longer has its advertised evidential interpretation for the overall procedure.
The Common Forms
- Trying many outcome measures: 'we measured 15 different things; one was statistically significant.' Unsurprising.
- Trying many subgroups: 'overall no effect, but in left-handed women aged 30-40 there was a p < 0.05 result.'
- Trying many model specifications: 'using these covariates and excluding these outliers, the effect becomes significant.'
- Stopping data collection when results favor you: 'we ran the study until p crossed 0.05 and then stopped.'
- The 'garden of forking paths': researchers make many small analytical decisions that, together, amount to running many implicit tests — even without intending to p-hack.
The Multiple-Comparison Correction
When you must run many tests, choose a procedure that controls the error criterion relevant to the study. Bonferroni controls family-wise error by using α/M for M planned tests—0.0025 per test for 20 tests at family-wise α = 0.05. False-discovery-rate procedures such as Benjamini–Hochberg answer a different error-control question; they are not simply “better” in every setting.
Pre-registration is the social fix: announce in advance what you will measure, how you will measure it, and what test you will run. Then any 'exploratory' analysis is labeled as such and cannot masquerade as confirmatory.