See Why Math

Puzzles / Chance

You tested positive. Are you probably sick?

A medical test is right nine times out of ten, for sick and healthy people alike. It says you have a disease that one in a hundred people has. Are you probably sick?

A test says you're sick. Are you? The math of changing your mind 5:09 Watch on YouTube
See the answer and why

Unlikely: a positive result means about a one in twelve chance, about 8%.

Let's count people. Picture ten thousand of them. One in a hundred has the disease, so there's a sick bucket of 100 and a healthy bucket of 9,900. Everyone takes the test, and each bucket splits. Of the 100 sick, 90 are caught and 10 are missed. Of the healthy, one in ten is a false alarm: 990 people.

You tested positive, so keep only the positive buckets: 90 sick people next to 990 false alarms. That's about one in twelve. It's like a smoke alarm. Most beeps are burnt toast, because toast is common and fires are rare.

Odds give the same answer faster. At the start it's one sick person for every 99 healthy. A positive is nine times more likely if you're sick, 90% versus 10%, so it multiplies the sick side by nine: 9 to 99, one in twelve. A second positive from an independent test multiplies by nine again: 81 to 99, or 45%. That's Bayes' theorem: evidence multiplies the odds by how much more likely it is if the thing is true.

The trap is swapping two numbers that sound alike. Of the sick people, nine in ten test positive. Of the people who test positive, only one in twelve is sick.

Your turn

A spam filter catches 9 in 10 spam emails and wrongly flags 1 in 10 real ones, and 1 in 10 emails is spam. An email gets flagged. Is it probably spam? Use the buckets, or the odds.

Show the answer

About 1 in 2, or 50%. Of 1,000 emails, 100 are spam and 90 of those are flagged; 900 are real and 90 of those are flagged too. With odds: 1 to 9, times 9, gives 9 to 9.

The Short 1:26 Watch on YouTube