Conditional probability and Bayes
Lesson 6 of 15 · Stats.Micro
P(A | B) is the probability of A given that B happened. A medical test gives P(+ | sick), its sensitivity. The patient wants the opposite: P(sick | +).
Bayes' theorem connects the two, and the key ingredient is the base rate (prevalence). When a disease is rare, most positive results come from the many healthy people who get false alarms.
This is why screening programs confirm a positive result with a second, more specific test before any diagnosis.
Filter the population to show only those who tested positive.
Raise the prevalence until P(sick | +) ≥ 60%.
With prevalence at 2% or less, push P(sick | +) above 50% by lowering the false positive rate.
A test is 95% sensitive, but the disease affects 2% of people. Why can most positives be false?
- Because sensitivity and P(sick | +) are always equal
- Because the healthy group is so large that its few false alarms outnumber the true positives
Discover how medical testing interacts with population prevalence and why positive results can deceive intuition.
False Positives (Healthy & Tested +) (55)
True Negatives (Healthy & Tested -) (925)
Do it in the browser: a real statistics tool, a short mission and instant feedback. No install.
Start this lesson — free