Bayes' Theorem Math Example 2
Follow the full solution, then compare it with the other examples linked below.
Example 2
hardDrug testing: . Test sensitivity . Specificity (so ). Find .
Solution
- 1
- 2
- 3
- 4 Despite 99% sensitivity and 95% specificity, only 51% of positives are true users!
Answer
. Even with a highly accurate test, only 51% of positive tests are true users.
The low base rate (5% users) means most positives are false positives, even with a very accurate test. This is the base rate fallacy โ ignoring prior probabilities when interpreting test results. Bayes' theorem correctly accounts for prevalence, test sensitivity, and specificity together.
About Bayes' Theorem
Bayes' theorem gives the posterior probability of a hypothesis given evidence: .
Learn more about Bayes' Theorem โMore Bayes' Theorem Examples
Example 1 medium
Email spam filter: [formula]. The word 'free' appears in 80% of spam emails and 10% of legitimate em
Example 3 easyWrite out Bayes' theorem and explain each component: [formula].
Example 4 hardA coin is either fair ([formula], probability 0.7) or biased ([formula], probability 0.3). You flip