Statistics, Illustrated
Too Good to Be True
Test twenty metrics at once and something will look like a winner. Some of those winners aren't real, and the real ones are smaller than they look.
Checking one metric at a fixed 5% false-positive rate feels safe. Checking twenty at once isn't, and the trouble comes in two kinds. Some of the metrics that clear the bar never moved at all, they're false discoveries, the multiple comparisons problem. And the ones that really did move look bigger than they are, because clearing the bar picks out the lucky draws, the winner's curse. This project simulates a dashboard of metrics, some genuinely moved, most genuinely not, and measures both traps: how often each rule gets fooled, how much the real winners get exaggerated, and what actually fixes each one.
A dashboard that looks too good
A simulated product launch: 20 metrics, each one the new version tested against the old, each tile showing the lift it measured and whether it cleared the bar for significance. Most launch readouts stop here, and most runs of this one look like a good launch. Decide which wins you'd believe, then reveal which metrics truly moved.
Run 1 of 20 · seed 1
No correction tests each metric on its own at 5%. Bonferroni and Benjamini-Hochberg are two standard ways to raise the bar when you test many at once; the sections below explain both.
6cleared the bar
6 of 20 metrics cleared the bar: 5 up, 1 down.
The bar: p < 0.05 (|z| > 1.96)
Every metric is tested on its own at 0.05.
Before you reveal: which of these wins would you ship?
1false discovery
1 false discovery: Search click-through (−39%) never truly moved.
Winner's curse: the 5 real lifts that cleared the bar read +73% on average, against a true +60% (all 6 real lifts average +59%).
Real lifts the bar missed: Day-7 retention (−11%).
- Real lift
- False discovery
- Real lift, missed
Launch readout · biggest observed lift first
Upgrade rate
+110%
9.8% → 20.5%
p <0.0001Significant
App installs
+82%
9.8% → 17.8%
p 0.0010Significant
Repeat purchase
+66%
11.0% → 18.3%
p 0.0037Significant
Return visits
+55%
10.5% → 16.3%
p 0.0169Significant
Sign-up rate
+54%
10.3% → 15.8%
p 0.0207Significant
Review rate
+52%
7.8% → 11.8%
p 0.0565Not significant
Trial starts
+30%
9.3% → 12.0%
p 0.2069Not significant
Referral rate
+14%
9.0% → 10.3%
p 0.5489Not significant
Promo-code use
+14%
9.3% → 10.5%
p 0.5535Not significant
Checkout conversion
+12%
10.3% → 11.5%
p 0.5702Not significant
Share rate
+8%
9.3% → 10.0%
p 0.7191Not significant
Newsletter opt-in
+7%
10.8% → 11.5%
p 0.7359Not significant
Add-to-cart rate
+2%
10.5% → 10.8%
p 0.9087Not significant
Wishlist adds
0%
10.5% → 10.5%
p 1.0000Not significant
Onboarding done
−8%
9.3% → 8.5%
p 0.7092Not significant
Day-7 retention
−11%
11.0% → 9.8%
p 0.5621Not significant
Saved a card
−21%
10.8% → 8.5%
p 0.2806Not significant
Profile complete
−22%
11.3% → 8.8%
p 0.2386Not significant
Push opt-in
−27%
10.3% → 7.5%
p 0.1715Not significant
Search click-through
−39%
13.5% → 8.3%
p 0.0171Significant
| Metric | Rate A | Rate B | Observed lift | p-value | No correction | Truth |
|---|---|---|---|---|---|---|
| Upgrade rate | 9.8% | 20.5% | +110% | <0.0001 | cleared (up) | hidden until you reveal |
| App installs | 9.8% | 17.8% | +82% | 0.0010 | cleared (up) | hidden until you reveal |
| Repeat purchase | 11.0% | 18.3% | +66% | 0.0037 | cleared (up) | hidden until you reveal |
| Return visits | 10.5% | 16.3% | +55% | 0.0169 | cleared (up) | hidden until you reveal |
| Sign-up rate | 10.3% | 15.8% | +54% | 0.0207 | cleared (up) | hidden until you reveal |
| Review rate | 7.8% | 11.8% | +52% | 0.0565 | — | hidden until you reveal |
| Trial starts | 9.3% | 12.0% | +30% | 0.2069 | — | hidden until you reveal |
| Referral rate | 9.0% | 10.3% | +14% | 0.5489 | — | hidden until you reveal |
| Promo-code use | 9.3% | 10.5% | +14% | 0.5535 | — | hidden until you reveal |
| Checkout conversion | 10.3% | 11.5% | +12% | 0.5702 | — | hidden until you reveal |
| Share rate | 9.3% | 10.0% | +8% | 0.7191 | — | hidden until you reveal |
| Newsletter opt-in | 10.8% | 11.5% | +7% | 0.7359 | — | hidden until you reveal |
| Add-to-cart rate | 10.5% | 10.8% | +2% | 0.9087 | — | hidden until you reveal |
| Wishlist adds | 10.5% | 10.5% | 0% | 1.0000 | — | hidden until you reveal |
| Onboarding done | 9.3% | 8.5% | −8% | 0.7092 | — | hidden until you reveal |
| Day-7 retention | 11.0% | 9.8% | −11% | 0.5621 | — | hidden until you reveal |
| Saved a card | 10.8% | 8.5% | −21% | 0.2806 | — | hidden until you reveal |
| Profile complete | 11.3% | 8.8% | −22% | 0.2386 | — | hidden until you reveal |
| Push opt-in | 10.3% | 7.5% | −27% | 0.1715 | — | hidden until you reveal |
| Search click-through | 13.5% | 8.3% | −39% | 0.0171 | cleared (down) | hidden until you reveal |
Every tile is real: one metric from this page's own simulation, at the live experiment's defaults: 20 metrics, 14 truly unchanged and 6 truly lifted (+60% on a 10% baseline), 400 visitors per arm, two-sided at α = 0.05. The names are made up: they're dealt out at random each run, so a name never tells you whether its metric moved; only the simulation decides that. Runs are seeds 1 to 20 in order, none skipped. Across all 20, a truly unchanged metric cleared the bar in 11 runs with no correction, 1 under Bonferroni and 3 under Benjamini-Hochberg, and the real lifts that cleared it averaged +77%, +104% and +92%, against +62% for every real lift and +60% built in.
Before we start: six terms this page leans on
Three for each trap. Each one gets a plain-language sentence first, that's the whole idea if you only want the whole idea, and a more precise technical line underneath it for anyone who wants the exact definition.
Trap one
Is a flagged winner real at all?
- Family-wise error rate (FWER)
- The chance that at least one metric out of a whole batch looks like a winner purely by chance, even though nothing actually changed anywhere.
- P(at least one false rejection among m simultaneous tests). Grows toward 1 − (1 − α)^m as m increases, even though each individual test still runs at the same α.
- False discovery rate (FDR)
- Instead of asking "did anything go wrong at all," this asks "of the metrics I'm calling winners, what fraction are actually mistakes?" A more forgiving, often more useful question once you're testing a lot of metrics at once.
- E[false rejections / total rejections], with the ratio defined as 0 when nothing was rejected. Controlling FDR at α means: on average, no more than an α fraction of whatever gets flagged as significant is actually a false positive.
- False positive, for a batch of metrics
- The same idea as a single false positive, a metric that looks like it moved when it actually didn't, just now happening somewhere inside a whole dashboard of metrics checked at once, not just one.
- Rejecting the null for a metric where the null is actually true. What's different here isn't the definition, it's that it's now one event among many simultaneous tests, which is exactly what makes the at-least-one version (FWER) and the proportion version (FDR) two different, both useful, ways to measure it.
More precisely
More precisely
More precisely
Trap two
If it's real, how big is it?
- Winner's curse
- When you pick winners by how good they looked, the ones you pick tend to have looked better than they really are. Nothing's wrong with them, picking the best-looking results also picks the luckiest measurement noise.
- E[observed effect | selected] > true effect whenever selection depends on the observed effect, here, clearing a significance bar. The name comes from auction bidding, where the winning bid tends to be the biggest overestimate.
- Type M (magnitude) error
- How much a significant result overstates the true effect, on average. Small for a test with plenty of power, large for one that only clears the bar when it gets lucky.
- Gelman and Carlin's exaggeration ratio, E[|estimate| / |true effect| given significance]. It grows as power falls, because a low-powered test only reaches significance when its noise lands far from zero.
- Ratio bias
- A lift is one rate divided by another, and dividing by a noisy number runs a little high on average, even when nothing was selected. It's small, but it's why this page measures the curse against every real lift's average, not the true lift.
- E[p̂_B / p̂_A] = p_B · E[1 / p̂_A] > p_B / p_A, by Jensen's inequality. To first order the bias factor is 1 + (1 − p) / (n·p): 2.25% at a 10% baseline and 400 visitors per arm. The difference in rates has no such term.
More precisely
More precisely
More precisely
That's where the name comes from. A winner on an experiment dashboard can be too good to be true in two ways. It might not be real at all: test enough metrics and some will clear the bar by chance, the textbook multiple comparisons problem, or multiple testing, which is the first half of this page. Or it can be real and still smaller than it looks, the winner's curse, which is the second half. Experimenters have a rule of thumb that covers both, Twyman's law: the more surprising a number looks, the more likely it's a mistake rather than a discovery. Kohavi, Tang and Xu give it a whole chapter in their book on online experiments.
Trap one
Why does testing more metrics find more "winners"?
The Texas sharpshooter fallacy is named for a (probably apocryphal) marksman who fires a bunch of shots at the side of a barn, finds wherever a few of them happened to cluster, then paints a bullseye around that cluster afterward and calls himself a sharpshooter. Fire enough shots, and some cluster is guaranteed to show up somewhere, that's not skill, it's arithmetic. Testing twenty metrics at once and reporting whichever one came back significant is the same move: the "bullseye" gets painted after you already know where the arrows landed.
Here's a way to make that concrete: ask 1,000 people to each call ten coin flips in a row, out loud, in advance. By pure chance alone, about one of them will get all ten right. That person isn't psychic, you just asked enough people. Testing enough metrics at once has exactly the same arithmetic hiding inside it.
All 18 shots were fired the same way, at random. Three of them happened to land near each other, purely by chance. The bullseye only exists because it was drawn around that cluster afterward, it wasn't aimed at.
A real binomial(10, 0.5) distribution, not a stylized sketch: most people land near 5 of 10, and getting all 10 right happens for about 1 in 1,024 people, purely from guessing. Ask enough people (or test enough metrics), and that rare tail stops being rare in absolute terms, it becomes a near-certainty that someone, or something, lands there.
The fix isn't "test fewer metrics"
The honest fix isn't to stop measuring things, it's to adjust the bar for calling something a winner based on how many things you're checking at once. Bonferroni does that bluntly (divide the threshold by the number of tests); Benjamini-Hochberg does it more cleverly (control the proportion of winners that are likely fake, rather than the chance of any fake winner at all). Both are simulated for real below, not asserted.
One dashboard, three decision rules
A simulated dashboard of N metrics from a single experiment, most genuinely unchanged, a few genuinely lifted, each with its own real p-value from real simulated data. Watch which ones each of the three rules, no correction, Bonferroni, and Benjamini-Hochberg, would flag as a winner.
What happens as you test more metrics
Simulate hundreds of independent dashboards at each of several metric counts (2, 5, 10, 20, 30, 50), and measure how often each rule gets fooled by at least one false discovery, and how many of the genuinely real effects it still manages to find.
Each run simulates 300 independent dashboards at each of six metric counts, 1,800 simulated experiments total.
Trap two
Why do real winners look bigger than they are?
The winner's curse got its name in the oil business. Companies bidding on federal offshore leases in the Gulf of Mexico each estimated how much oil sat under a tract. Some guessed high, some low, and on average the guesses could be fair. But whoever won an auction was, almost by definition, the bidder who guessed highest, so the winners kept overpaying. Capen, Clapp and Campbell wrote it up in 1971, and the name stuck: winning selects the biggest overestimate.
A dashboard runs that same auction on every real lift. Each measurement is the true lift plus some noise, sometimes pushing it up, sometimes down. The significance bar is the auction: the real lifts that clear it are, disproportionately, the ones whose noise happened to push them up. So when a real winner gets flagged, its measured lift is a guess that won a contest for being high. Gelman and Carlin call that overshoot a Type M, for magnitude, error.
That makes it a different trap from the first one, asking a different question. Multiple testing asks whether a flagged winner is real at all. The winner's curse asks how big a real winner is. Same flags, two different ways to be wrong, and the corrections from the first half only fix the first: a stricter bar lets through only the luckiest draws, so the real winners it does flag come out even more exaggerated.
The live experiment's dashboard, run 3,000 times, each rule applied to every run.
| Which metrics | Is it real?Flags on a null metric | How big is it?Average observed lift |
|---|---|---|
| Every real lift, flagged or not | — | +64%18,000 metrics |
| Flagged, no correction | 13.8%2,076 of 14,998 flags | +78%12,922 real winners |
| Flagged, Benjamini-Hochberg | 5.0%438 of 8,700 flags | +91%8,262 real winners |
| Flagged, Bonferroni | 1.9%111 of 5,707 flags | +101%5,596 real winners |
Read down the columns. Each stricter rule cuts the fake flags, from 13.8% to 5.0% to 1.9%, and pushes the real winners' average further from the truth, from +78% to +91% to +101%, on a true lift of +60%. The same bar that fixes false discoveries makes the curse worse.
3,000 simulated dashboards, seeds 1–3,000, at the live experiment's defaults: 20 metrics, 6 of them lifted by a true +60% on a 10% baseline, 400 visitors per arm, α = 0.05. The yardstick is +64%, not +60%, and that first gap isn't the curse: a ratio of two noisy rates runs high on average even when nothing is selected. Measured as a plain difference in rates, which doesn't, every lifted metric averages 6.02 percentage points against a true 6.00. Computed at build time by src/lib/stats-sim/winners-curse.ts and pinned in tests/stats-sim/winners-curse.test.ts.
The fix isn't a stricter bar
Two things actually shrink it. More traffic: once nearly every real lift clears the bar, clearing it stops selecting for luck, the study further down shows how fast that happens. And measuring a winner again on fresh traffic, a holdout or a re-test, since nothing about the second measurement was selected. Re-run on fresh traffic, Bonferroni's +101% winners come back at +64%, right on the unselected average. Shrinkage, pulling flagged estimates back toward what's typical, does a similar job without new traffic, but it needs a prior built from many past experiments, which this page doesn't model.
Where the flagged winners come from
Every metric from 200 seeded dashboards at once, laid out by the lift it showed. The top panel holds the metrics that truly didn't move, so anything flagged there is a false discovery, trap one. The bottom panel holds the metrics that truly lifted, so the flagged ones show what clearing the bar does to the size of a real winner, trap two. Switch the rule, change the traffic, or step to the next 200 dashboards.
What makes the curse better or worse
The same 3,000 seeded dashboards at every point, the live experiment's defaults with one setting changed. Left: visitors per arm, which sets how much power each test has. Right: the number of metrics, which moves the corrections' bars, Bonferroni's directly. Each line is the average observed lift of the real winners a rule flags. The dashed line is the true lift, the dotted one every real lift, flagged or not.
Seeds 1–3,000 at every point, computed at build time by runCurseStudy in src/lib/stats-sim/winners-curse.ts. At 2 and 5 metrics the 70/30 split rounds to one lifted metric per dashboard.
Key findings
Short version: a dashboard winner can be too good to be true twice over. Checking more metrics at once inflates the chance that at least one is a fluke, from under 5% at just a couple of metrics to over 80% at fifty. And the real winners that do clear the bar overstate their lift: +78% measured on a true +60% with no correction, +101% under Bonferroni. Corrections fix the first trap and worsen the second; more traffic, or re-measuring a winner on fresh traffic, fixes the second.
The problem
What checking a whole dashboard of metrics, uncorrected, actually costs you.
- 01
Testing more metrics finds more "winners", many of them fake
2 metrics4.8%10 metrics30.8%20 metrics50.3%50 metrics83.5%With 70% of metrics genuinely unchanged and 30% genuinely lifted, the naive rule's chance of flagging at least one false winner climbs from 4.8% at 2 metrics, to 30.8% at 10, 50.3% at 20, and 83.5% at 50. At real dashboard scale, a false discovery isn't an edge case, it's close to guaranteed.
- 02
Around one in eight flagged "winners" is fake, at any scale
The naive rule's false discovery rate, the fraction of everything it flags that's actually a false positive, sits between 11.9% and 13.5% regardless of whether 2, 10, or 50 metrics are being tested. More metrics doesn't make each individual flagged result any less trustworthy, it just makes it far more likely that at least one shows up.
The two real fixes, and their trade-off
Bonferroni and Benjamini-Hochberg both work, they just promise different things.
- 03
Bonferroni keeps false discoveries rare, at a real cost in power
Naive power71.6%Bonferroni power21.8%At 50 metrics, Bonferroni's chance of any false discovery stays at 3.4% (vs. naive's 83.5%), but its power to actually detect the genuinely real effects drops to 21.8%, compared to naive's 71.6%. The stricter per-test threshold that buys safety is the same threshold that buys away sensitivity.
- 04
Benjamini-Hochberg keeps roughly double Bonferroni's power at the same scale
Bonferroni power21.8%BH power43.9%At 50 metrics, both corrections keep their false discovery rate well under 5% (Bonferroni 1.0%, BH 3.5%), but BH still detects 43.9% of the genuinely real effects, compared to Bonferroni's 21.8%. Controlling the rate of false discoveries, rather than the chance of any at all, buys back real sensitivity.
- 05
BH isn't magic: it allows individual false discoveries, it just keeps their proportion capped
BH's own chance of any false discovery (its family-wise error rate) actually climbs with the metric count, from 4.2% at 2 metrics to 23.9% at 50, unlike Bonferroni's, which stays flat. That's the real trade, not a flaw: BH promises something different, the expected proportion of flagged winners that are fake stays capped near the nominal rate (3.4% at 50 metrics), not that a false discovery can never happen at all.
The second trap: real winners look bigger than they are
Same dashboards, a different question: not whether a flagged winner is real, but how big it is.
- 06
The real winners a rule flags overstate their lift, and a stricter rule overstates it more
True lift60%All real lifts64%No correction78%BH91%Bonferroni101%Across 3,000 seeded dashboards at the live defaults, every genuinely lifted metric was simulated at +60%. Measured, flagged or not, they average +64%, and that gap is ratio bias, not selection. The ones no correction flags average +78%, Benjamini-Hochberg's +91%, Bonferroni's +101%. The bar that keeps false discoveries rare is the same bar that only lets the luckiest real draws through.
- 07
Every metric you add makes Bonferroni's winners more inflated
2 metrics83%10 metrics95%20 metrics101%50 metrics109%Bonferroni's bar is alpha divided by the metric count, so each metric added raises it: its flagged winners average +83% at 2 metrics and +109% at 50, at 400 visitors per arm. No correction's bar never moves, so its winners stay between +77% and +79% at every count. Testing more metrics hurts twice: more false discoveries, and bigger exaggeration once you correct for them.
- 08
Traffic is the real cure: the curse feeds on low power
100/arm345%400/arm101%1,600/arm62%6,400/arm60%At 100 visitors per arm, Bonferroni finds 3.2% of the real lifts, and the ones it finds average +345% on a true +60%. At 1,600 it finds 98.0%, and they average +62%. Once nearly every real effect clears the bar, clearing it stops selecting for luck, and the other rules converge the same way.
- 09
Re-measuring a winner on fresh traffic lands it back on the truth, and catches the fakes too
Bonferroni flag101%Same, re-tested64%All real lifts64%Re-run every dashboard on fresh traffic and re-measure the same flagged metrics: Bonferroni's +101% winners come back at +64%, no correction's +78% winners at +64%, both on the unselected average. The re-test sorts out trap one as well: of no correction's 2,076 false discoveries, only 51 (2.5%) clear the bar again in the same direction, against 71.7% of its real winners.
Methodology
This section is the full construction and citations behind everything above. If you just want the intuition, see Why does testing more metrics find more winners? and Why do real winners look bigger than they are? earlier on this page, each section below also opens with a one-line plain-English summary.
Three rules, run on the same simulated dashboard
Every simulated metric gets one real p-value from real simulated data, then all three rules are applied to the exact same batch of p-values.
Each simulated "experiment" generates N metrics, a configurable fraction genuinely null and the rest genuinely lifted, each as its own two-arm binomial comparison (reusing the same binomial sampling and two-proportion z-test used throughout this series), producing one real p-value per metric. Naive rejects whichever p-values individually fall under alpha. Bonferroni rejects whichever fall under alpha divided by the number of metrics. Benjamini-Hochberg sorts the p-values and rejects every one at or below the largest rank whose p-value clears that rank's own line, (rank/N)·alpha, which is why it can reject some p-values individually above alpha/N that Bonferroni would have missed.
Why Bonferroni is conservative
Bonferroni's per-test threshold guarantees the chance of any false discovery stays at alpha, by union-bound logic that doesn't need the tests to be independent.
If each of N true-null tests is run at alpha/N, the probability any one of them falsely rejects is at most N·(alpha/N) = alpha, by the union bound, a simple inequality that holds regardless of whether the tests are independent or correlated. That generality is exactly why it's conservative: it's designed to be safe under the worst case, not tuned to the specific dependence structure of any one dashboard.
What Benjamini-Hochberg actually promises
BH controls the expected proportion of flagged winners that are fake, not the chance of any fake winner existing at all, a different and usually more useful guarantee.
Benjamini and Hochberg's 1995 procedure guarantees E[false rejections / total rejections] <= (m0/m)·alpha under independence (or a common form of positive dependence), where m0 is the true number of null hypotheses, at most alpha regardless. It says nothing about whether any individual false discovery happens, only about their expected share of whatever gets flagged, which is exactly the quantity this page's Key Findings confirm stays controlled even as the metric count climbs.
The repeated-trials metric-count study
The same batch simulation runs hundreds of times at each of six metric counts, and the false-discovery and power numbers are tallied at every count, not asserted from one run.
At each metric count in {2, 5, 10, 20, 30, 50}, 300 independent simulated dashboards are generated (1,800 total per full study run), and for each of the three rules: whether any true-null metric was falsely flagged (feeding the family-wise error rate), and what fraction of genuinely-lifted metrics were correctly flagged (feeding power). Baseline rate, the size of the real lift, and the fraction of genuinely-lifted metrics are all adjustable above.
Measuring the winner's curse on the same dashboards
The same seeded dashboards and the same three rules; the curse is the average observed lift of the genuinely lifted metrics each rule flags, next to the same average over every lifted metric.
measureWinnersCurse runs seeds 1 to 3,000 at the live experiment's defaults (20 metrics, 70% null, +60% on a 10% baseline, 400 visitors per arm, alpha 0.05) through the same simulateMetricBatch and the same three rules. Observed lift is arm B's rate over arm A's, minus one. For each rule it tallies the flags, how many landed on truly null metrics (trap one), and the average observed lift of the truly lifted metrics it flagged (trap two). Selecting on significance is the whole effect: nothing about the metrics changes, only which ones get looked at. The counts reconcile with the metric-count study's power over the same seeds exactly, which the test suite checks.
Ratio bias, and why the yardstick isn't the true lift
A lift divides by a noisy rate, which biases it up a little even with no selection, so this page measures the curse against every real lift's average, not against the true lift.
E[rate_B / rate_A] = p_B · E[1 / rate_A], and 1/x is convex, so by Jensen's inequality E[1 / rate_A] > 1 / p_A. To first order the bias factor is 1 + (1 − p)/(n·p), which is 2.25% at a 10% baseline and 400 visitors per arm and predicts 63.6% observed; the simulation's 64.1% sits right on it. The difference in rates has no such term: every lifted metric averages 6.02 percentage points against a true 6.00. The bias shrinks with traffic, from +78% unselected at 100 visitors per arm to +60% at 6,400.
The fresh-traffic re-test
Every dashboard is re-run on fresh traffic from a separate seed stream, and each flagged metric is re-measured on its own, so nothing about the second measurement was selected.
The re-test for dashboard seed s is the same dashboard simulated at seed 1,000,000,000 + s: the same metrics, the same true rates, new visitors. A flagged metric's re-test result is that same metric in the fresh run, and a re-test confirms a flag when its p-value is under 0.05 in the same direction, a single test, so no correction applies. In a product this is a holdout or a follow-up experiment, which costs traffic and time the simulation gets for free.
The winner's-curse study
The same seeded dashboards at every point, sweeping visitors per arm and the number of metrics one at a time, with every other setting at the live defaults.
runCurseStudy repeats measureWinnersCurse over seeds 1 to 3,000 at each of 7 traffic levels (100, 200, 400, 800, 1,600, 3,200, 6,400 visitors per arm) and 6 metric counts (2, 5, 10, 20, 30, 50). Traffic sets each test's power, which is what the curse feeds on. The metric count moves the corrections' bars: Bonferroni's directly, as alpha divided by the count, and Benjamini-Hochberg's through how many p-values clear their rank's line. At 2 and 5 metrics the 70/30 split rounds to one lifted metric per dashboard. Both sweeps run at build time and ship as data, so the chart draws exactly the numbers the tests pin.
What the published research says
Benjamini-Hochberg is the actual, widely-cited 1995 paper that introduced controlling the false discovery rate as an alternative to the older, more conservative family-wise corrections.
Benjamini, Y. and Hochberg, Y. (1995), "Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing," Journal of the Royal Statistical Society, Series B, is the paper this page's second correction is built from directly. Bonferroni's correction predates it by decades and remains the standard conservative baseline it's usually compared against, exactly the comparison made throughout this page.
What the published research says about the winner's curse
The name comes from auction bidding; the statistical version, selecting on significance inflating the effects you find, is well documented, including in online experiments.
Capen, Clapp and Campbell (1971), "Competitive Bidding in High-Risk Situations," Journal of Petroleum Technology 23, is where the term first appeared, from offshore oil lease auctions in the Gulf of Mexico. Gelman and Carlin (2014), "Beyond Power Calculations: Assessing Type S (Sign) and Type M (Magnitude) Errors," Perspectives on Psychological Science 9(6), name the magnitude error and show it grows as power falls, the pattern this page's traffic sweep reproduces. Ioannidis (2008), "Why Most Discovered True Associations Are Inflated," Epidemiology 19(5), makes the same argument for threshold-based discovery across fields. Lee and Shen (2018), "Winner's Curse: Bias Estimation for Total Effects of Features in Online Controlled Experiments," KDD 2018, show the bias inflates the summed impact of features an online company launches and propose a correction. Efron (2011), "Tweedie's Formula and Selection Bias," Journal of the American Statistical Association 106(496), gives the empirical-Bayes shrinkage correction this page describes but doesn't simulate. Kohavi, Tang and Xu (2020), Trustworthy Online Controlled Experiments, Cambridge University Press, devote chapter 3 to Twyman's law, the rule of thumb that a surprising result is more likely an error than a discovery.
The fine print
Limitations
- 01Metrics are simulated independently of each other. Real dashboard metrics are often correlated, revenue and conversion rate tend to move together, which changes the exact false-discovery and power numbers (BH's guarantee in particular is proven under independence or a specific form of positive dependence, not arbitrary correlation). The qualitative story, naive inflates, corrections control it at a cost, is robust to this, the precise numbers here are not.
- 02The fraction of metrics that are genuinely lifted is a known input to this simulation, so its ground-truth column can be shown at all. A real dashboard never gets to see that column, that's the actual problem this page is about, not a simplification that changes any of the numbers.
- 03This uses the original 1995 Benjamini-Hochberg procedure. Variants exist for arbitrary dependence structures (Benjamini-Yekutieli) and other refinements: this page implements one real, representative correction, not the only correct one.
- 04Every genuinely lifted metric here has the same true lift. Real dashboards have a spread of true effects, small ones far more common than big ones, which changes the exaggeration numbers (a spread of small effects makes the curse worse, since the small ones only clear the bar on lucky draws). The direction, selection inflates, stricter bars inflate more, traffic shrinks it, is the robust part.
- 05Every lift on this page is a ratio of two rates, so ratio bias is in every lift number, flagged or not. The difference-in-rates check isolates it, and the winner's-curse comparisons are made against every real lift's average rather than the true lift so it doesn't get counted as curse.
- 06The re-test here is free, a fresh seed. In a product it costs a second experiment's worth of traffic and time, and the world can change in between (novelty wearing off, seasonality), so a real re-test can disagree for reasons this simulation doesn't have.
- 07Shrinkage isn't simulated. Empirical-Bayes shrinkage can de-bias flagged estimates without new traffic, but it needs a prior estimated from many past experiments' effects, which this page doesn't model. It's described as a fix, not demonstrated as one.
Reflection & next steps
- What was surprising
- That the fix for one trap makes the other worse. Bonferroni keeps false discoveries rare, and the real winners it lets through average +101% on a true +60%, more exaggerated than doing nothing (+78%). And that Benjamini-Hochberg's own chance of any false discovery climbs with the metric count: it trades one guarantee for a different, usually more useful one, not a strictly stronger version of the same guarantee.
- Hardest part to get right
- Getting the false discovery rate's own definition right in code: it's an average over trials where trials with zero rejections contribute exactly 0, not an average only over trials that had rejections, a subtle difference that changes the number. Confirming the observed family-wise error rate against the textbook 1-(1-alpha)^m formula also required remembering that formula only applies when every tested metric is truly null, not the total metric count in a mixed batch. On the winner's-curse side, it was noticing that unselected lifted metrics averaged +64%, not +60%, before blaming the curse for it: that gap is ratio bias, and the difference-in-rates check is what pins it down.
- What a proper fix would take
- Simulating metrics with a realistic correlation structure instead of independent ones, and implementing the Benjamini-Yekutieli variant built for that case, would be the natural next step, along with letting the fraction of genuinely-lifted metrics vary within a single dashboard rather than being fixed for a whole run. On the winner's-curse side, letting true effects vary in size instead of all being +60%, and simulating shrinkage, an empirical-Bayes estimate built from many past dashboards, as a second fix next to the re-test.