Cobra Effect · Statistics and probability

The garden of forking paths

Choosing the analysis after seeing the data makes flukes look real.

7 cards, read aloud in 2:27, with a test and sources.

A wrought iron garden gate standing closed in a hedge, plain background, nothing else, no border

A researcher runs one test, on one hypothesis, and reports one number.

No fishing. No hunting through the data until something worked. She had the idea before she collected anything. And her result may still be nonsense.

Because she made a hundred small decisions after seeing the data.

Two respondents looked odd, so she dropped them. Age split neatly at 40, so she used that. The pattern was clearer in women, so she reported women. Each choice was defensible. Each was made with the data in view.

Andrew Gelman and Eric Loken gave this a name in 2013.

They called it the garden of forking paths, after a short story by Jorge Luis Borges. You do not need to walk every path to be lost. You only need the path you took to depend on what you saw.

This is why a result can be honest and still be junk.

A significance test asks how often chance alone would hand you something this strong. That question has an answer only if the test was fixed in advance. If you chose the test after the data, chance had far more ways to oblige you. The published number understates that.

Nobody here is cheating.

Gelman and Loken were explicit about that. The researcher ran one analysis and believes it was the only one she could have run. The other analyses exist anyway, in the branches she would have taken if the data had come out differently. That is enough to break the maths.

The fix is boring and it works.

Write the analysis down before you see the data, and lodge it somewhere you cannot edit. If you cannot do that, report every path you considered, not just the one you walked. Or walk the whole garden and show the spread of answers it gives.

And when you are reading somebody else’s result.

Ask one question. Was this the analysis they planned, or the analysis that worked? If the split is oddly specific, if the finding lives in one subgroup, if the outcome is not the obvious one, you are looking at a path. Ask what else they could have found.

Sources

Nearby ideas

All stories

Cobra EffectIdeas worth knowing
Streak 0 daysRead 0 of 0Known 0Kept 0
Every story is written to a rule: framing can be invented, facts cannot, and a tale that is probably a legend says so. Narration and pictures are generated once and kept. Your progress is saved on this device and in a record of its own on the server, so you can pick it up on another one. Nothing else about you is collected, and there is a button to delete the lot. Privacy.