1. Home
  2. Explore
  3. Mathematics
  4. Medical Test Paradox & Bayes

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Medical Test Paradox & Bayes

Speaker 1Speaker 2

Medical Test Paradox & Bayes

4:52
0:00-4:52
  1. Hope

    Anna, have you ever heard that weird fact about medical tests? You know, the one where a test can be over 90% accurate, but if you get a positive result, your chance of actually having the disease might be really low?

  2. Anna

    Oh, I have! It’s that paradox about Bayes’ rule, right? I remember something about it being counterintuitive. But honestly, I’ve never fully understood why it happens.

  3. Hope

    Exactly. Let’s break it down with an example. Imagine 1,000 women, and 1% of them have breast cancer. So that’s 10 with cancer and 990 without. A screening test catches 9 of those with cancer—that’s a 90% sensitivity—and it gives false positives to 89 of the healthy women. So the false positive rate is about 9%.

  4. Anna

    Okay, so if a woman gets a positive result, she could be one of the 9 true positives or one of the 89 false positives. That means her chance of actually having cancer is only 9 out of 98, which is about 1 in 11. That is way lower than the 90% accuracy I would have guessed!

  5. Hope

    Right! That’s the paradox. The test is accurate in the sense that it gives correct results to over 90% of people, but the predictive value—the chance a positive result is correct—is only about 9%. Psychologist Gerd Gigerenzer actually tested gynecologists on this in 2006. Only a fifth of them got it right.

  6. Anna

    Wow, that’s worse than random guessing! So what’s the key misconception? People think test accuracy directly tells you your chance of having the disease, but it doesn’t.

  7. Hope

    Exactly. A test doesn’t give you a final answer; it updates your prior probability. Before the test, your chance was 1 in 100. After a positive result, it updates to about 1 in 11. That update is measured by something called the Bayes factor.

  8. Anna

    The Bayes factor? That sounds like a handy tool. How does it work?

  9. Hope

    It’s simple: for a positive test, the Bayes factor is the sensitivity divided by the false positive rate. In our example, that’s 90% divided by 9%, which is 10. Then you multiply your prior odds by that number. With odds, you express the prior as the ratio of having cancer to not having it: 1 to 99.

  10. Anna

    So 1 to 99 times 10 gives 10 to 99, which converts to a probability of 10 divided by 109—about 1 in 11. That’s perfect! And what if the prevalence were higher, like 10%?

  11. Hope

    Then the prior odds would be 1 to 9, and multiplying by 10 gives 10 to 9. That’s a little over 50%—about 53%. You can check with a sample population: out of 100 people, 10 have cancer, 9 test positive; 90 are healthy, about 8 get false positives. So 9 true positives out of 17 total positives is about 53%.

  12. Anna

    Neat! And what if the test is even more specific, say a false positive rate of only 1%? Then the Bayes factor would be 90 instead of 10.

  13. Hope

    Right. With a 1% prior, odds of 1 to 99, multiplied by 90 gives 90 to 99, which is a bit under 50%. So even a highly accurate test doesn’t guarantee a high predictive value if the disease is rare. The Bayes factor helps because it cleanly separates the test’s performance from the prior.

  14. Anna

    I see how that’s much clearer than the usual formula. The standard Bayes’ rule has all those terms mixed together: the prior, the sensitivity, and the false positive rate all jumbled into one fraction.

  15. Hope

    Exactly. The usual formula is: probability of disease given positive equals (sensitivity times prior) divided by (sensitivity times prior plus false positive rate times one minus prior). It works, but it doesn’t factor out the update factor nicely. With odds, you just multiply by the Bayes factor each time you get new evidence.

  16. Anna

    And that’s especially useful if you have multiple tests or other information, like symptoms. Each piece of evidence gives you a new Bayes factor to multiply. It’s like building up your odds step by step.

  17. Hope

    Yes! Plus, the Bayes factor itself doesn’t look like a probability, so it’s harder to misinterpret. A false positive rate of 9% sounds like there’s a 9% chance your positive result is wrong, but that’s not true. A Bayes factor of 10 doesn’t get confused with your personal risk.

  18. Anna

    That’s a great design choice. But the usual formula has its merits too, especially for building intuition. Counting a sample population is what we did to check the Bayes factor calculations.

  19. Hope

    Absolutely. Both approaches are valuable. The key is to understand that test accuracy and predictive value are different things. By framing it with odds and Bayes factors, we can quickly estimate results and avoid common mistakes. It’s a perfect example of how the way we present math can shape our understanding.

  20. Anna

    I feel much more confident about this now. Next time I hear about a medical test, I’ll think in terms of prior odds and Bayes factors. Thanks, Hope!

  21. Hope

    You’re welcome! And if you ever want to dive deeper into paradoxes like this, there’s a great book by Matt Cook called Paradox that covers tons of them. I even wrote a small chapter in it about whether math is invented or discovered.

  22. Anna

    I’ll have to check that out. But for now, I think I’ve got a solid handle on why an accurate test doesn’t always mean a predictive one.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent