A conditional probability is the probability of one event given that another has happened: P(A | B) = P(A and B) ÷ P(B). Set the branch probabilities on a tree, choose a question, and follow the highlighted paths. The table of counts shows the same calculation with whole numbers.
Pick a situation, adjust the branch probabilities, and choose what to find.
"Given B" means you only look at outcomes where B happened. P(A | B) is the fraction of those outcomes that are also in A: P(A and B) ÷ P(B).
Rearranging the definition gives P(A and B) = P(A) · P(B | A). On a tree, multiply the probabilities along a path to get the probability of that whole path.
The branches leaving any point add to 1. The second-stage branches are conditional probabilities, because they assume the first-stage outcome already happened.
To find P(B), add every path that ends in B: P(B) = P(A)·P(B | A) + P(Aᶜ)·P(B | Aᶜ).
The probability of a positive test given disease can be 0.95, while the probability of disease given a positive test is far smaller when the disease is rare. Always check which event is “given.”
With a two-way table, P(A | B) is the count in A and B divided by the count in B, the same as a conditional relative frequency.
4% of a population has a condition. A test is positive for 90% of people with it and 8% of people without it.
| Find | Formula | Work | Answer |
|---|---|---|---|
| P(condition and positive) | P(C) · P(+ | C) | 0.04 × 0.90 | 0.036 |
| P(no condition and positive) | P(Cᶜ) · P(+ | Cᶜ) | 0.96 × 0.08 | 0.0768 |
| P(positive) | Add the positive paths | 0.036 + 0.0768 | 0.1128 |
| P(condition | positive) | P(C and +) ÷ P(+) | 0.036 ÷ 0.1128 | about 0.319 |
| P(no condition | negative) | P(Cᶜ and −) ÷ P(−) | (0.96 × 0.92) ÷ (1 − 0.1128) | about 0.995 |
AP-style multiple choice. Pick an answer to see the explanation.
The vocabulary for topic 2.6. Read the list, flip through flashcards, or quiz yourself. For every term in the unit, see the Unit 2 terminology guide.