5.2 Disease Testing
Let's imagine there is a rare, one in a million, disease that is lethal but does not have many outward symptoms at first. A new test boasts 99.9% accuracy, so you go to get tested, and receive the bad news that you test positive for the disease. Should you be devastated by the news? What is the probability that you actually have the disease? We are looking at two, quite different, probabilities here. In the first case, we have the claims of the test which state that if you have the disease, the probability that the test will be positive is 0.999, or, if you have the disease, test will discover that fact 99.9% of the time. In the second case we have your concern which is, if you test positive for the test, what is the probability that you have the disease. In our notation this is:
These two are related by Bayes' Rule (Equation 1.14).
The Bayes' Recipe proceeds as follows
- Specify the prior probabilities for the models being considered
The models we have are simply “have the disease” and “don't have the disease”. The prior probabilities for these two come from the prevalence of the disease in the population, before you get tested. Since this is a “one in a million” disease, we have
- Write the top of Bayes' Rule for all models being considered
The top of Bayes' Rule comes down to, given the truth of the model (i.e. either with or without the disease), what is the probability of getting the data (i.e. the positive or negative test result). This is measured by how good the test is.
and
So the top of Bayes' Rule looks for both models looks like:
- Add these values for all models
- Divide each of the values by this sum, , to get the final probabilities
Which means that, overwhelmingly, if you have a rare one-in-a-million disease, you are very unlikely to have it even given a 99.9% accurate positive test for it! This is a seriously unintuitive result, so it is helpful to visualize it in another way to build your intuition.
One way to see this result is to visualize it, as in Figure 5.1. Here, the numbers are a bit smaller - the disease is 1 out of 200 in a population of 3000, and the test is 99% accurate. This means about 15 sick people and about 2985 healthy people. If all of the sick people test positive, and 1% of the healthy people test positive due to the 99% accuracy, we would have 15 sick and 29 healthy people who all test positive. Even in this case, with much smaller numbers, we see that getting a positive test alone does not imply that it is likely you have the disease. It depends on the rarity of the disease (the more rare, the less likely) and the false positive rate (the number of healthy people who test positive anyway). This will vary depending on the disease and the test, but can lead to this unintuitive result, and thus can lead one to make poor medical decisions.
Consequences
This sort of disease testing has serious consequences, especially for rare diseases with tests that aren't precise. In the book “The Theory That Would Not Die: How Bayes' Rule Cracked the Enigma Code, Hunted Down Russian Submarines, and Emerged Triumphant from Two Centuries of Controversy” by Sharon McGrayne there is a discussion concerning the 2009 advice from the U.S. government task force that “most women in their forties not to have annual mammograms.” (emphasis mine) According to McGrayne,
Thus the probability that a woman who tests positive has breast cancer is only 3%. She has 97 chances out of 100 to be disease free. None of this is static. Each time more research data become available, Bayes' rule should be recalculated. As far as Bayes is concerned, universal screening for a disease that affects only 4/10 of 1% of the population may subject many healthy women to needless worry and to additional treatment which in turn can cause its own medical problems. In addition, the money spent on universal screening could potentially be used for other worthwhile projects. Thus Bayes highlights the importance of improving breast cancer screening techniques and reducing the number of false positives.1 (emphasis mine)
Thus the proper application of probability theory allows us to separate true but unintuitive things from this which only seem true and intuitive but are in fact false.
Adapted from Statistical Inference for Everyone, by Brian Blais (Bryant University), licensed under CC BY-SA 4.0 (dual-licensed under the GNU FDL 1.2 or later; this adaptation uses the CC BY-SA grant). Changes were made; this adaptation is distributed under the same license. License: CC-BY-SA-4.0.