Name Date
Bayes Theorem worksheet
Grades 11–12 · CCSS HSS.CP.B.8, HSS.CP.B.6, HSS.CP.A.3
Calcapedia Solve each problem and show your work. Round answers to 2 decimal places where needed.
- 1.
Problem 1. - Enter: P(A), P(B | A) and P(B)
- P(A), probability of A: 30%
- P(B | A), probability of B when A is true: 85%
- P(B), overall probability of B: 48%
Find: P(A | B)
Answer
- 2.
Problem 2. - Enter: Base rate and test accuracy
- Base rate: how common the condition is, P(A): 1%
- True positive rate (sensitivity), P(+ | A): 95%
- False positive rate, P(+ | not A): 4%
Find: Chance of the condition after a positive result, P(A | +)
Answer
- 3.
Problem 3. - Enter: Base rate and test accuracy
- Base rate: how common the condition is, P(A): 1%
- True positive rate (sensitivity), P(+ | A): 90%
- False positive rate, P(+ | not A): 6%
Find: Chance of the condition after a positive result, P(A | +)
Answer
- 4.
Problem 4. - Enter: Base rate and test accuracy
- Base rate: how common the condition is, P(A): 1%
- True positive rate (sensitivity), P(+ | A): 78%
- False positive rate, P(+ | not A): 5%
Find: Chance of the condition after a positive result, P(A | +)
Answer
- 5.
Problem 5. - Enter: P(A), P(B | A) and P(B)
- P(A), probability of A: 28%
- P(B | A), probability of B when A is true: 70%
- P(B), overall probability of B: 45%
Find: P(A | B)
Answer
- 6.
Problem 6. - Enter: P(A), P(B | A) and P(B)
- P(A), probability of A: 34%
- P(B | A), probability of B when A is true: 80%
- P(B), overall probability of B: 38%
Find: P(A | B)
Answer
- 7.
Problem 7. - Enter: P(A), P(B | A) and P(B)
- P(A), probability of A: 32%
- P(B | A), probability of B when A is true: 76%
- P(B), overall probability of B: 38%
Find: P(A | B)
Answer
- 8.
Problem 8. - Enter: Base rate and test accuracy
- Base rate: how common the condition is, P(A): 1%
- True positive rate (sensitivity), P(+ | A): 90%
- False positive rate, P(+ | not A): 5%
Find: Chance of the condition after a positive result, P(A | +)
Answer
- 9.
Problem 9. - Enter: P(A), P(B | A) and P(B)
- P(A), probability of A: 26%
- P(B | A), probability of B when A is true: 100%
- P(B), overall probability of B: 36%
Find: P(A | B)
Answer
- 10.
Problem 10. - Enter: P(A), P(B | A) and P(B)
- P(A), probability of A: 20%
- P(B | A), probability of B when A is true: 85%
- P(B), overall probability of B: 55%
Find: P(A | B)
Answer
Answer key: Bayes Theorem worksheet
Calcapedia 1. P(A | B): 53.13%
Turn the percents into decimals. Then multiply to find the chance that A and B both happen
Divide by the chance of B to find how often A is true among the cases where B happens (Bayes' theorem)
Work out how often B happens without A: the rest of B's chance, spread over the cases without A
2. Chance of the condition after a positive result, P(A | +): 19.35%
Find the chance of having the condition and testing positive: how often the test catches it, times how common it is
Find the chance of a false alarm: the false positive rate, times the share of people without the condition
Add the two, since a positive result can come either way. That is the total chance of testing positive
Divide the real positives by all positives to see how many positive results are real (Bayes' theorem)
After a negative result: divide the missed cases by all negative results
3. Chance of the condition after a positive result, P(A | +): 13.16%
Find the chance of having the condition and testing positive: how often the test catches it, times how common it is
Find the chance of a false alarm: the false positive rate, times the share of people without the condition
Add the two, since a positive result can come either way. That is the total chance of testing positive
Divide the real positives by all positives to see how many positive results are real (Bayes' theorem)
After a negative result: divide the missed cases by all negative results
4. Chance of the condition after a positive result, P(A | +): 13.61%
Find the chance of having the condition and testing positive: how often the test catches it, times how common it is
Find the chance of a false alarm: the false positive rate, times the share of people without the condition
Add the two, since a positive result can come either way. That is the total chance of testing positive
Divide the real positives by all positives to see how many positive results are real (Bayes' theorem)
After a negative result: divide the missed cases by all negative results
5. P(A | B): 43.56%
Turn the percents into decimals. Then multiply to find the chance that A and B both happen
Divide by the chance of B to find how often A is true among the cases where B happens (Bayes' theorem)
Work out how often B happens without A: the rest of B's chance, spread over the cases without A
6. P(A | B): 71.58%
Turn the percents into decimals. Then multiply to find the chance that A and B both happen
Divide by the chance of B to find how often A is true among the cases where B happens (Bayes' theorem)
Work out how often B happens without A: the rest of B's chance, spread over the cases without A
7. P(A | B): 64%
Turn the percents into decimals. Then multiply to find the chance that A and B both happen
Divide by the chance of B to find how often A is true among the cases where B happens (Bayes' theorem)
Work out how often B happens without A: the rest of B's chance, spread over the cases without A
8. Chance of the condition after a positive result, P(A | +): 15.38%
Find the chance of having the condition and testing positive: how often the test catches it, times how common it is
Find the chance of a false alarm: the false positive rate, times the share of people without the condition
Add the two, since a positive result can come either way. That is the total chance of testing positive
Divide the real positives by all positives to see how many positive results are real (Bayes' theorem)
After a negative result: divide the missed cases by all negative results
9. P(A | B): 72.22%
Turn the percents into decimals. Then multiply to find the chance that A and B both happen
Divide by the chance of B to find how often A is true among the cases where B happens (Bayes' theorem)
Work out how often B happens without A: the rest of B's chance, spread over the cases without A
10. P(A | B): 30.91%
Turn the percents into decimals. Then multiply to find the chance that A and B both happen
Divide by the chance of B to find how often A is true among the cases where B happens (Bayes' theorem)
Work out how often B happens without A: the rest of B's chance, spread over the cases without A