Bayes Diagnostic Test
How likely is it that someone who tests positive actually has the condition? Enter the prevalence and the test’s sensitivity and specificity, and see the answer from Bayes’ rule alongside a population of 400 people.
Understanding the Results
- Positive Predictive Value (PPV): Probability of having the condition given a positive test
- Negative Predictive Value (NPV): Probability of not having the condition given a negative test
- Key Insight: Test accuracy depends heavily on prevalence in the population
- Practical Implication: Even highly accurate tests can have surprising results in low-prevalence populations
Notes
TipTry this
With the default test (95% sensitivity, 90% specificity), find the chance of having the condition after a positive result when the prevalence is 5%. Now raise the prevalence to 30%. Why does the same test become so much more informative?