Mental Models204 cards · 12 fields

Mental Models/Mathematics & Statistics

Multiple Comparisons

多重比较

The more things you try, the more likely you are to hit a "discovery" that's pure chance.

In 2005, Craig Bennett, a graduate student at Dartmouth College, put an Atlantic salmon he had bought into a brain scanner. The fish was dead. He showed it photos of people in social situations, then checked the tens of thousands of tiny boxes in the scan one by one to see whether the signal anywhere changed with the photos. A small cluster of boxes in the fish's brain really did pass the statistical threshold. When they made this public in 2009, they also wrote that once all the boxes checked were corrected for together, the cluster disappeared.

You have a twenty-sided die, and rolling a 1 wins. The chance on one roll is 5%. If you roll only once, nobody would call a win skill. Roll it twenty times, and the chance of winning at least once is about 64%, nothing unusual at all. This is where the trouble with multiple comparisons lies. Test twenty options that actually don't work, judging each against a 5% threshold, and each one has a 5% chance of clearing it by luck, so the whole round is just like rolling the die twenty times. But if the report mentions only the one that cleared the bar and says nothing at all about the other nineteen, the reader sees a hit on the first try.

By 14 tests, a false alarm is over 50% likely
0%25%50%75%100%020406080100Number of testsChance of any false alarm5% bar per test0.25% bar per testOver half14 tests
0%50%100%0255075100Number of testsChance of any false alarm5% bar per test0.25% bar per testOver half14 tests

Every option is useless, each judged at the 5% bar. Lower the bar to 0.25%, or 0.05÷20, and 20 tests are back down to 5% false alarms.

Run enough tests and a chance "win" is almost certain

Suppose none of the options work. Each test is judged against a threshold , and you run tests. The chance of at least one false alarm is

The chance that one test gives no false alarm is ; multiplied together times, it's the chance that none of them does. One minus that is the chance of at least one false alarm. With a 5% threshold, 1 test gives a 5% chance of a false alarm; 5 tests raise it to 23%; with 14 tests, , more than half; with 100 tests, over 99%.

Switching measures, slicing groups and shifting dates all add tests

No result overall? Look at click-through rate instead. Nothing there? Split people by age and region. Then shift the date range a couple of times. Every path that could be picked out and reported counts as one more test, even if in the end only the winning one is written up.

The whole round shares one budget for false alarms

If you decide in advance to run 20 tests and want the chance of a false alarm across the whole round to stay at 5% or less, split that 5% evenly over the 20 tests, lowering each one's threshold to 0.05/20, or 0.25%. This way of splitting it is called the Bonferroni correction. If the winner was picked out after the fact, there's no counting how many tries there were, so you can't split it like this. In that case, fix the rule for picking first, then test it on new data that played no part in the picking.

Try as much as you like while exploring. Multiple comparisons is about what you announce after the trying: a comparison decided in advance, and the only one run, needs no correction. When tests are closely linked, they tend to clear the bar together or miss it together, so multiplying the chances overstates the false alarms; the Bonferroni correction still works, it's just on the strict side. The other way around, deciding that results must all be false because many things were tried, or holding all exploring to the strictest threshold, throws out real leads along with the false ones.

Explain
Annual reports and press releases always seem to have more "surprising findings" than you'd expect. First count how many paths were tried behind them, and you'll know how many were pieced together by random ups and downs.
Act
When you're handed a result saying "customers of a certain type convert better," first ask whether that group was defined in advance or sliced out after looking at the data. Only then talk about whether to add budget.
Design
Set rules for your team's experiments: before running one, register the main measures and the analysis plan; if there are several main measures, agree in advance how to split the threshold among them.
  1. Was this result named in advance as the one to test, or picked out after looking at the data?
  2. To get it, how many measures, groups, settings and time windows did I or the other side try in all? Were the ones that didn't work written down?
  3. Once the rule is locked, does it show up again in new data that played no part in the picking?

Medicine

You can group by star sign too

The ISIS-2 trial, published in 1988, enrolled more than 17,000 patients with a suspected heart attack, and the overall result was that aspirin lowered the death rate. When the researchers grouped patients by star sign, patients born under Gemini and Libra showed no benefit. They made a point of putting this result in the paper.

Investing

Where backtest champions come from

At your computer you try every combination of moving-average lengths, buy and sell thresholds, and start and end years, run more than a thousand strategies, and pick the one with the nicest-looking return curve. It won out of more than a thousand contests, so it can't carry the same weight as a strategy chosen in advance and run once. You lock the rules and wait for the next six months of the market, which played no part in the picking, to see whether it makes money.

Human resources

Staff turnover and blood type

You're a company's HR analyst. You test 40 employee traits one by one against the rate at which people quit, including blood type, star sign, commute distance and the school they graduated from. Suppose none of the 40 actually has anything to do with it: with a 5% threshold for each, on average two will still look "linked." You leave those two out of your report and keep only commute distance, which you had a reason to suspect beforehand, to check against next quarter's new hires.

Multiple ComparisonsBayesian UpdatingStart from a best guess, weigh new evidence, and shift your view bit by bit.The team tested 15 new features, and only one cleared the threshold. Multiple comparisons would say: hitting one in 15 tries is nothing special, so don't believe it yet. Bayesian updating looks at something else: whether there was a reason to expect this feature to work beforehand. If research had already pointed to it working, the prior is high, and this one result deserves to be taken seriously; if it was just tried on a whim, the prior is low, and clearing the bar shouldn't change your view much. With no reason beforehand, discount it for the number of tries; with a reason, give it credit for the reason.Multiple ComparisonsExplore vs ExploitThe more chances you have left, the more it pays to try something new.Should a startup run more lines of experiments? Explore and exploit urges you to try more, because missing a good opportunity costs more than a few extra tries. Multiple comparisons warns that the more you try, the more likely the "good opportunities" you bring back are false. Both are right, and each governs one stage: try freely while casting the net, stop once you've picked out candidates, test them again on new data, and only put in more once they pass the retest.Multiple ComparisonsRegression to the MeanAn unusually good or bad result contains luck, so the next usually falls back toward normal.The champion picked from a batch of options often does noticeably worse the next round. Regression to the mean explains it this way: part of the champion's result was luck, and luck won't come again next round. Multiple comparisons explains it this way: pick the strongest from many contenders and you've picked up the luck along with them. Both look at the same drop; the first tells you to expect it, the second tells you how to subtract it in advance.

A property manager puts the same energy-saving lights in all 12 buildings of a housing estate, then compares each building's shared electricity bill for the month before and the month after. Only Building 7's drop in the bill clears the 5% statistical threshold for a single test; the other 11 show no clear change. The manager wants to put Building 7's figures in the promotional material.

How should this result be handled?

A clinical trial registered four main endpoints in advance and set the rule that the chance of at least one false alarm across the whole round must not exceed 5%. The four endpoints' p-values are 0.03, 0.02, 0.20 and 0.60. The person leading the trial has to decide what goes into the conclusion.

Which statement about these results is correct?

A production line is working perfectly. Every day the quality-control system runs one test on that day's products, with this threshold: if nothing is wrong with the line, each test has a 5% chance of a false alarm. The system runs for 30 days in a row, and each day's test is independent of the others.

Over these 30 days, roughly what is the chance of at least one day with a false alarm?