The Test Says Yes

A thousand people stand in the grid. Some are sick. A test rings the ones it worries about. Move a slider and watch who the ring lands on.

well has the condition the test said yes

truefalse alarms

What the rings are telling you

When the condition is rare, almost everyone is well, so even a small share of mistakes among the well outnumbers the people who are actually sick. The rings pile up on circles.

The name

This is Bayes' theorem, in the form doctors use when a test comes back positive. The chance you have the condition, given a yes, is not the chance the test catches the condition. It is the share of the yeses that are real.

Where you have already met it

A medical screen for a rare disease. A spam filter that is right almost all the time and still fills a folder with ordinary mail. A security alert that fires on thousands of quiet days. In each case the test can be good and the yes can still be probably wrong, because the thing it is looking for is scarce and the crowd is large.