The Positive Test
Count 1,000 people to see what a positive result really tells you.
The test (from the pre-class poll)
- Of 100 people without COVID who take it, 10 test positive (false positives).
- Of 100 people with COVID who take it, 5 test negative (false negatives), so 95 test positive.
Among the people taking the test this week, 2% have COVID.
1. You test positive
You take the test this week and it comes back positive. What is the chance you have COVID? Pick your best guess: no calculation needed yet. Step 2 counts it out.
Go to step 2 and count.
2. Count the 1,000
Each mark is one of 1,000 test-takers. Count the filled marks: everyone who tests positive.
Use the calculator below for any arithmetic in this step.
Move the slider. Above about what share of test-takers with COVID does a positive result mean you more likely than not have it?
New case: a screening test catches 99% of people with a rare disease, and 1% of healthy people test positive by mistake. 1 in 1,000 people have the disease. Of those who test positive, about what share have it?
From a news story
“The test picks up 95% of people who have COVID. So if you test positive, there's a 95% chance you're infected.”
3. What's wrong with the story?
As a group: what is the mistake?
Three numbers behind a positive
- How often it says yes when the thing is there: 95% for the COVID test.
- How often it says yes when the thing isn't there: 10%.
- How common the thing is among those tested: 2% this week.
Together: 19 true positives and 98 false ones in 1,000 people.
4. Your own test
As a group: pick a test or flag from your own studies or life that says yes or no (a plagiarism checker flagging an essay, say, but find your own). Before trusting a “yes” from it, which numbers would you look up, and how would your trust change if what it looks for were rare?
Points to compare
- One number is not enough. A good answer names all three: how often it says yes when the thing is there, how often when it isn't, and how common the thing is among those tested (step 1).
- Count out 1,000 cases, as in step 2: true yeses against false yeses. When the thing is rare, the false yeses from the much larger “no” group can outnumber the true ones, as in the rare-disease case.
- “Catches 95% of cases” and “95% of its yeses are right” are different claims; only the second answers whether to trust a yes (step 3).
You should now be able to:
- turn a test's error rates and how common a condition is into counts out of 1,000, and find the share of positives who have it (step 2);
- say how that share moves as the condition gets rarer or more common, and roughly where a positive becomes more likely right than wrong (step 2);
- spot a claim that swaps “share of the sick who test positive” for “share of positives who are sick” (step 3).
Assumptions
- parameterFalse-positive rate 10% and false-negative rate 5%, from the pre-class poll. They don't change with the share who have COVID.
- parameterShare of test-takers with COVID: 2% to 50% in steps of 2%, default 2%. Every count is then a whole number of people.
- simplificationCounts are expected counts out of 1,000, rounded to whole people for the picture; the percentages use the unrounded counts.
- interpretation“The chance you have COVID” is the share with COVID among the 1,000 who test positive, as if you were one of them picked at random.
Left out: conditional-probability notation and Bayes' rule, which come next lesson; tests repeated on the same person.