LibraryQuant puzzles
A condition affects one person in a thousand. A screening test for it has two stated accuracy figures:
If someone has the condition, the test is positive 99 percent of the time. If someone does not have it, the test is negative 95 percent of the time.
A person is drawn at random from the population, with no symptoms and no other information, and tests positive.
What is the probability that they actually have the condition?
Picture a large crowd from this population taking the test, and count the positive results that come from people with the condition and from people without it.
A test speaks about the test, not about the population. When the condition is much rarer than the false positive rate, the false positives outnumber the true ones no matter how good the test is.
You have the question, a hint and the idea. It works out how likely a positive result is to be right, and shows how that depends on how rare the condition is.