Conditional probability and the general multiplication rule
Calculate conditional probabilities from trees and two-way tables, including when the question reverses the tree’s first branch.
It opens on
A disease affects 1% of people. The test is positive for 95% of sick people and 8% of healthy people. If you test positive, roughly what is your chance of disease?
Why it matters
A positive test result does not, by itself, tell us the chance that someone has a disease.
Good to know first
- Probability, complements and mutually exclusive events: P(not A) = 1 − P(A). Two categorical variables: two-way tables, conditional distributions and association: read a share within a row or column total. Conditional probability: the chance of A among those where B happened
Step by step
Count the given group
Find a conditional probability by counting only outcomes in the given group.
Of 10,000 people, 1% are sick: 100 sick and 9,900 healthy.
A common mix-up
P(sick | positive) equals P(positive | sick).
In fact: 95 of 887 positives are sick, but 95 of 100 sick people test positive.
Multiply along paths
Use conditional branch probabilities to find joint probabilities and then reverse the condition.
P(sick and positive) = 0.01 × 0.95 = 0.0095.
A common mix-up
Multiply the separate chances of two events to get “and” every time.
In fact: The second factor must apply after the first event.
Read the table
Choose the correct table total and see how a change in prevalence affects the answer.
The original cells are sick: 95 positive, 5 negative; healthy: 792 positive, 9,108 negative.
A common mix-up
A 95% detection rate fixes the chance of disease after a positive result.
In fact: Changing prevalence changes who is in the positive column.
Try it
Among negative results, find P(healthy | negative).Answer
9,108/9,113 ≈ 0.99945
Hint: Use both negative leaves.
A 52-card deck has 4 aces. Find P(two aces without replacement).Answer
(4/52)(3/51) ≈ 0.00452
Hint: After one ace, 3 remain among 51 cards.
With 2% prevalence, find P(healthy | positive).Answer
784/974 ≈ 0.805
Hint: Stay within the new positive column.
Change only the result to negative. Write P(sick | negative) using counts.Answer
5/(5 + 9,108)
Write the bus-and-late path probability.Answer
0.60 × 0.20 = 0.12
Conditional probability and the general multiplication rule
30 minutes every month. No card.
