Many metrics and variants compound the false positive chance
Peeking gives one metric many chances. Tracking many metrics does the same thing another way.
Predict
You test 20 independent metrics on a change that does nothing. What's the chance at least one comes out significant at 0.05?
Chance that at least one metric comes out significant
1 metric
5.0%
3 metrics
14.3%
5 metrics
22.6%
10 metrics
40.1%
20 metrics
64.2%
The bars are 1−0.95m for m independent metrics on a change that does nothing.
Three treatments against one shared control do it 12.5% of the time in simulation. That's a bit under the 14.3% of three independent tests, because the shared control ties them together.
Segments work the same way. Slice by country, device and platform until something lights up, and something will.
Name one primary metric before the test, the one that decides. The rest are guardrails or diagnostics, read for harm and for understanding, not for a win.
When several metrics or variants could each justify a launch, correct for it. Bonferroni tests each of m comparisons at α/m: 20 metrics at 0.0025 each bring the chance of any false positive back to 4.9%. Benjamini-Hochberg is less strict. It controls the false discovery rate, the expected share of your wins that are flukes.
Treat a segment you found after the fact as a hypothesis for the next test, not a result.
In the editor, write family_rate(m, alpha) and bonferroni(alpha, m): the chance of a false win across m metrics, and the level that brings it back near alpha.
Pick an answer above to see the rest
Instructions
1
Write family_rate(m, alpha): the chance that at least one of m independent metrics comes out significant when nothing changed.
2
Then write bonferroni(alpha, m): the level each metric is tested at under the Bonferroni correction.