A clinic tests 400 people for a disease that 1% of people have. Each dot below is one person. The test is quick but not perfect: it comes back positive (+) for 99% of people who have the disease (its sensitivity) and negative (−) for 95% of people who don’t (its specificity).
The question: your friend tests positive. How likely is it that they really have the disease? That chance is written P(has it | +), “the probability of having it, given a positive test”.
Bayes’ theorem updates a belief with evidence. The surprise: when a condition is rare, most positive results come from the huge group of people who don’t have it.
Counting people (natural frequencies) makes it intuitive: compare the red dots with the orange ones.
Of everyone who tests positive, 4 of 24 are really ill — about 17%.
Bayes’ theorem updates a belief with evidence. The surprise: when a condition is rare, most positive results come from the huge group of people who don’t have it.
Counting people (natural frequencies) makes it intuitive: compare the red dots with the orange ones.
Things to try