A 99% accurate test says positive. Why it is often a false alarm.
A test can be right 99% of the time and still be wrong about most of its positives. Count people instead of probabilities and the surprise goes away.
A positive result
A test comes back positive. The first thing anyone wants to know is how likely it is that the result is right.
Say the condition is rare: 1 person in 1,000 has it. The test is 99% accurate in both directions. Of every 100 people who have the condition it flags 99. That is its sensitivity. Of every 100 who do not, it clears 99. That is its specificity.
So how likely is it that you have the condition? The tempting answer is 99%. Test a whole crowd and count what happens.
Of 1,000 people, 1 is sick and tests positive. Ten healthy people test positive too. So a positive is right 1 time in 11, about 9%, nowhere near 99%.
Counting people
“99% accurate” answers one question. Of the people who have the condition, how many test positive? When a result comes back you are asking it the other way round. Of the people who test positive, how many have the condition?
That second crowd is mostly healthy people. A 1% false alarm rate sounds small, but it is applied to 999 healthy people, so about 10 of them test positive. One true positive against ten false ones.
Counts of people make this easy to see, and there is evidence for it. Gigerenzer and Hoffrage (1995) gave 60 students the same problems as probabilities or as counts of people, now often called natural frequencies. In their first study, answers that followed Bayes’ rule rose from 16% to 46%.
A multiplier on the odds
There is a shorter way to say all this. Evidence does not tell you how likely something is. It tells you how much to change your mind. In odds, that is one multiplication.
The fraction is the likelihood ratio. It says how much likelier this result is for a sick person than for a healthy one.
For our test the prior odds are . A positive is times likelier for a sick person, so the posterior odds are . That is a probability of , about 9%. A big multiplier on a tiny start still leaves a small number.
Test again
After a positive, a second test is the natural thing to ask for. Add results and watch the belief move.
Each fresh positive multiplies the odds by 99 again. Belief goes from 0.1% to 9%, then 91%, then 99.9%.
But that only works if the tests are independent given the truth. Results are not independent outright, because both are news about the same person. Given the truth means this: once you know whether the person is sick, the first result tells you nothing new about the second.
A fresh sample or a different method can come close to that. Retesting the same sample on the same instrument cannot, and neither can a false alarm that comes from something about the person. Then the retest mostly repeats the first answer. Slide sharing to 100% and the second and third positives add nothing.
Same test, rarer condition
Keep the test as it is and change only the crowd. Drag the point along the curve.
For this test a positive is right half the time only when 1 person in 100 has the condition. At 1 in 10 it is right 92% of the time. At 1 in 10,000 it is right only about 1% of the time. To be 99% sure after one positive, the condition has to be as common as a coin flip.
A negative is a different story. At 1 in 1,000, a negative from this test is wrong about 1 time in 99,000.
A better test shifts the curve left. At 99.9%, a positive is a coin flip at 1 in 1,000. Make the condition ten times rarer and we are back where we started. What a positive means depends on who was tested.
The same slip in court
Here is how it goes. A DNA profile from a crime scene matches a suspect, and it matches 1 in a million innocent people. “So there is a 1 in a million chance the suspect is innocent,” says the prosecutor.
That swaps the question. One in a million is the chance that an innocent person matches. What the court needs is the chance that a person who matches is innocent. Thompson and Schumann (1987) named this the prosecutor’s fallacy.
Do the crowd count. Say the source is one of 10 million people and the match is all that points to the suspect. About 10 innocent people match too. The suspect is 1 of 11 matches, about 9%, not 99.9999%.
The opposite slip, the defense attorney’s fallacy, treats the match as worthless because others match too. But that match multiplied the odds a million times. Real cases have other evidence, and that sets the starting odds. The prosecutor skips the starting odds. The defense attorney skips the multiplier.
What this does not say
None of this says a positive result can be ignored. A positive multiplies the odds by a fixed amount, here 99. Where the odds end up depends on where they started.
Nor do low starting odds always win. Make the condition more common, or the test better, and a positive is right far more often.
This is arithmetic about a stylised test, not medical advice. Real sensitivities and specificities are estimates, and the right starting odds depend on who is tested and why. What a real result means is a question for the people who know that test and that person.
Weighing rival explanations uses the same multiplier. The next note picks that up: Why simpler explanations win, and when they do not.
Findings
The plain results.
- In a crowd of 1,000 with 1 in 1,000 sick, a test 99% sensitive and 99% specific produced 11 positives. Only 1 of them was sick, about 9%.
- With fresh errors, three positives took belief from 0.1% to 9%, 91% and 99.9%, a factor of 99 each. When every answer was repeated, belief stayed at 9%.
- For a test 99% sensitive and 99% specific, a positive was right about 9% of the time at 1 in 1,000, and half the time only at 1 in 100.
Sources
- Eddy, D. M. (1982). Probabilistic reasoning in clinical medicine: Problems and opportunities. In Kahneman, Slovic and Tversky (Eds.), Judgment under Uncertainty: Heuristics and Biases, 249 to 267. Cambridge University Press.
- Gigerenzer, G., and Hoffrage, U. (1995). How to improve Bayesian reasoning without instruction: Frequency formats. Psychological Review, 102(4), 684 to 704.
- Thompson, W. C., and Schumann, E. L. (1987). Interpretation of statistical evidence in criminal trials: The prosecutor’s fallacy and the defense attorney’s fallacy. Law and Human Behavior, 11(3), 167 to 187.
- Royal Statistical Society (2001, 23 October). Royal Statistical Society concerned by issues raised in Sally Clark case.
- Dendukuri, N., and Joseph, L. (2001). Bayesian approaches to modeling the conditional dependence between multiple diagnostic tests. Biometrics, 57(1), 158 to 167.
- Bayes, T. (1763). An essay towards solving a problem in the doctrine of chances. Philosophical Transactions of the Royal Society, 53, 370 to 418.