Berkeley, autumn 1973Admitted:44% of men,35% of women.
Graduate school, the whole campus: 12,763 applications, and a gap of nine percentage points. Was Berkeley turning women away? A gap only tells you what caused it if the two groups were alike in everything else. Were they?
Each grain is one applicant: 8,442 men, 4,321 women. The rates are the published ones, rounded to whole percents, so the dark grains are 44% and 35% of each plot (Bickel, Hammel and O’Connell, Science, 1975).
1 · The trap
Now ask eachdepartment.
The six largest departments took 4,526 of those applications. Together they admitted 44.5% of men and 30.4% of women: a wider gap still. Here they are one at a time, each grain one applicant.
The gap nearlyvanishes.
Women were admitted more often in four of the six. Men led in the other two, by 3.8 points or less. In department A it was 82% of women and 62% of men.
Same applicants, same decisions, the opposite story. A comparison that flips when you split the groups has a name: Simpson’s paradox.
1 · The same trap, in a shop
They choose.
2 · The cure
The coin decides.
A shop adds a new feature and asks: did it work? 100,000 visitors, made up, so we know the truth: the feature adds exactly one percentage point to everyone’s chance of buying. Red means keen: likely to buy anyway.
Let them choose, as the applicants chose their departments. 30,275 switch it on, mostly the keen. 15.86% of them buy, against 7.93% of the rest: +7.93 points, where the truth is +1.
Count it again on a thousand reshuffled crowds and it barely moves: +7.49 to +8.43. Sure of itself, and wrong: the two groups were not alike. One was keener.
Now nobody chooses: a coin flips for every visitor. Heads, the feature; tails, none. The keen land on both sides equally, so the two halves are alike in everything but the feature.
With the feature, 10.88% buy; without it, 10.12%. The difference: +0.77 points. Only the feature, or luck, can be behind it.
How much is luck? Treat these visitors as the whole world and draw a new crowd from them at random, 1,000 times: that is resampling. Each new crowd gives a slightly different difference: one grain of sand.
Set aside the 25 lowest and the 25 highest. The other 950 run from +0.39 to +1.15 points: the 95% interval, a range built to hold the truth 19 times in 20. The truth, +1.0, is inside. Zero is not.
Left to choose, 30,275 keen-leaning visitors switch it on and the gap reads +7.93 points, with a narrow interval that misses the truth. A coin splits the crowd into two halves that match; the gap is +0.77 points, and the middle 950 of 1,000 resamples run from +0.39 to +1.15. The truth, +1.0, is inside.
2 · The cure: how far to trust it
How unsure.
Run the same shop with fewer visitors and the resamples spread out. At 1,000 visitors the interval is 6.64 points wide; at 100,000, 0.76. A hundred times the visitors buys about a tenth of the width: being sure is expensive.
How unsure.
Above the heap: 100 fresh shops of the same size, each with its own interval. Most catch the truth. Over 1,000 fresh shops of 100,000, 951 did: 95.1%.
A narrow interval isn’t a big effect: +0.77 is small and sure. A wide one that crosses zero isn’t “no effect”: drag the slider back to 1,000 visitors and it runs from −4.18 to +2.46. It just doesn’t know yet.
3 · The trap again, without people
Only the onesthat came back.
A coin is not always there to choose. Sometimes the choosing is done before you count. The famous story: bombers came home with holes in the wings and few in the engines, so armour the wings? No. Who chose which planes came home? Enemy fire did: the planes it hit in the engines never came back to be counted.
What is on record is drier: in 1943 Abraham Wald, at Columbia’s Statistical Research Group, estimated how vulnerable each part of a bomber was from the damage on the planes that returned. The red-dotted drawing and the armour anecdote came decades later.
Only the onesthat came back.
Our plane is an illustration with invented numbers. Hits land evenly, but a hit on an engine downs the plane 30% of the time. Of these 60 planes, 17 are shot down: take their holes away. Over 1,000 planes, the 716 that come home show 20% fewer holes on the engines, for their size, than on the fuselage.
That is selection bias: the planes you can count are not like the planes that flew. The missing ones are the evidence.
And one different mistake
Peek everyevening.
One more way to be fooled, and this time nobody chose anything: looking too often. Run a test where nothing was changed: both groups see the same page, so the true difference is zero and any “winner” is false. (Testers call it an A/A test.)
1,000 new visitors arrive each evening for 28 evenings. Every evening you look at the interval. The first time it leaves zero out, you stop and call a winner. Early intervals wander, so look often enough and luck alone carries one off zero. Then the 19 tests run beside it: each red dot is a false winner.
Peek everyevening.
Now 10,000 such tests, one grain each. Peeked at every evening for four weeks, 27.2% have called a winner that does not exist. Look once, on the last evening, and it is 4.96%: the one time in twenty a 95% interval is built to be wrong.
Every extra look is another chance to be fooled by luck. Decide the length first, then look once at the end.
Your turn
Run your own.
Choose the truth, the crowd, and whether to peek. Every run is a fresh, made-up shop, split by coin.
A big effect shows in a small crowd; a small one needs a big crowd. Halve the effect and it takes four times the visitors to see it.
How wrong am I?I can’t tell, untilsomebody changes something.
Three times the two groups were not alike, because someone chose: applicants their departments, keen shoppers the feature, enemy fire which planes came home. To learn what a change does, let a coin choose, and say how unsure you are.
Then look once.
Next: Two Hundred Trees.
Every model so far scored the whole crowd by one rule. The next one asks questions, one at a time.