Find a course

Module 4: Probability in Real LifeLesson 9 of 913 min

Probability Traps and Surprises

See why a positive test can still mean you are probably healthy, why 23 people often share a birthday, and how to reason through coincidences and Monty Hall.

Step 1 of 12Learn

Base rates and false positives

A disease affects 1% of people. A test catches 90% of people who have it, but it also gives a false positive to 9% of healthy people. You test positive. What is the chance you actually have the disease?

Most people guess around 90%. The real answer is about 9%.

Imagine 1,000 people:

  • 10 have the disease (1%). The test catches 9 of them.
  • 990 are healthy. The test wrongly flags 9% of them, about 89.
  • Total positives: 9 + 89 = 98. Of these, only 9 are sick.

P(sick | positive) = 9/98 ≈ 9%.

The disease is so rare that false positives from the huge healthy group outnumber the true positives. The rarity of the condition, called the base rate, matters enormously, and ignoring it is called the base rate fallacy.

This is P(sick | positive) versus P(positive | sick) again: 90% is the second one. Doctors handle this by retesting positives, which is why a first screening result is rarely the final word.

Step 2 of 12Practice · Diagram

10,000 people take the test

Tap the largest group of people who get a positive result.

Tap the shape that answers the question, then press Check.

10,000 people take the testHierarchy diagram: 10,000 people, Have the disease: 100, Healthy: 9,900, Positive: 90, Negative: 10, False positive: 891, Negative: 9,009.10,000 peopleHave thedisease: 100Healthy: 9,900Positive: 90Negative: 10False positive:891Negative: 9,009
Of 981 positives, only 90 are sick: about 9%.
10,000 people
Have the disease: 100

1% base rate.

Healthy: 9,900
Positive: 90

The test catches 90% of them.

Negative: 10
False positive: 891

9% of 9,900 healthy people.

Negative: 9,009

Step 3 of 12Practice · Work it out

In a town of 10,000 people, 2% have a condition. A test detects 95% of people who have it and gives a false positive to 5% of people who do not. If someone tests positive, what is the probability, as a percent, that they have the condition? Round to the nearest whole percent.

Step 4 of 12Learn

The birthday problem

How many people need to be in a room for there to be a better-than-even chance that two of them share a birthday? Most people guess around 180, half of 365. The answer is 23.

The trick is that you are not looking for someone who matches you. Any pair will do, and 23 people form 23 × 22 / 2 = 253 pairs. That is a lot of chances for a match.

Use the complement. Ignoring leap days and assuming all birthdays are equally likely, the probability that everyone has a different birthday is

365/365 × 364/365 × 363/365 × … × 343/365 ≈ 0.493

for 23 people. So P(at least one shared birthday) ≈ 1 − 0.493 ≈ 0.507.

With 30 people it is about 70%, and with 50 people about 97%. A typical class of 30 more likely than not has a shared birthday.

The lesson: when you count the number of possible coincidences, rather than one specific one, "surprising" matches become expected.

Step 5 of 12Practice · Estimate

Estimate: in a group of how many people does the chance of at least one shared birthday first exceed 50%?

52 people

Step 6 of 12Practice · Chart

Chance that at least two people share a birthday

Tap the smallest group on the chart where a match is more likely than not.

Tap the point that answers the question, then press Check.

Chance that at least two people share a birthdayLine chart with 9 categories: 5: 2.7%; 10: 11.7%; 15: 25.3%; 20: 41.1%; 23: 50.7%; 30: 70.6%; 40: 89.1%; 50: 97%; 60: 99.4%.0%20%40%60%80%100%51015202330405060People in the room
Assumes 365 equally likely birthdays.
Chance that at least two people share a birthday
People in the roomChance of a match
52.7%
1011.7%
1525.3%
2041.1%
2350.7%
3070.6%
4089.1%
5097%
6099.4%

Step 7 of 12Learn

Coincidences and the conjunction rule

"What are the odds?" A friend thinks of someone and that person texts a minute later. Someone wins a lottery twice. These feel impossible, but think about how many chances there are. A one-in-a-million event happens to about 330 people a day in a country of 330 million. Rare is not the same as impossible, and with enough people and enough days, rare events are guaranteed to happen to someone.

A related trap is the conjunction fallacy. Read this: "Sam loves debating and wants to change the world. Which is more likely: Sam is a lawyer, or Sam is a lawyer who volunteers for a charity?" Many people pick the second because it fits the story. But every lawyer-who-volunteers is also a lawyer, so the second can never be more likely:

P(A and B) ≤ P(A)

Adding details to a story makes it sound more convincing while making it less probable. Each extra condition is another factor less than 1 being multiplied in.

Step 8 of 12Practice · True or false

A more detailed prediction, such as "it will rain and be windy tomorrow," can be more probable than the simpler prediction "it will rain tomorrow."

Step 9 of 12Tap to reveal

The Monty Hall problem

  1. The game

    A game show has three doors. Behind one is a car; behind the other two are goats. You pick door 1. The host, who knows where the car is, opens door 3 to show a goat. He offers you a switch to door 2. Should you switch?

  2. The tempting answer

    Two doors are left, so it seems like 50/50 and switching does not matter. That is what most people, including many mathematicians, first think.

  3. Why switching wins 2/3 of the time

    Your first pick is right with probability 1/3, and nothing the host does changes that. So the car is behind the other closed door with probability 2/3. The host always opens a goat door, so he is effectively offering you both of the other doors at once.

  4. Check with 100 doors

    Pick 1 of 100 doors. The host opens 98 goat doors, leaving yours and one other. Would you stick with your 1-in-100 pick? Switching wins 99 times out of 100.

Step 10 of 12Practice · Choose one

In the Monty Hall game, after the host opens a goat door, what is your probability of winning the car if you switch?

Step 11 of 12Practice · Sort into groups

Sort each statement as sound reasoning or a probability fallacy.

Tap an item, then tap its group (or drag it there).

Step 12 of 12Practice · Choose one

A headline says, "Eating snack X doubles your risk of a rare illness." The risk rises from 1 in 10,000 to 2 in 10,000. By how much does the chance of getting the illness actually increase?