Predictive Values
& Prevalence
Understand how disease prevalence shapes the meaning of a positive or negative test result: the keys to PPV and NPV.
What Is a Diagnostic Test?
A diagnostic test classifies individuals as positive (likely has the disease) or negative (likely disease-free). But no test is perfect: it can produce true and false results in both directions.
The \(2 \times 2\) Contingency Table
Sensitivity & Specificity
Before we dive into predictive values, we need two intrinsic test properties that do not depend on prevalence:
What Are PPV & NPV?
The Bayes' Theorem Connection
PPV can be derived directly from Bayes' theorem. Let \(p\) = prevalence, \(\text{Sn}\) = sensitivity, and \(\text{Sp}\) = specificity:
Why Prevalence Changes Everything
Curves shown for \(\text{Sn} = 95\%\), \(\text{Sp} = 95\%\)
Intrinsic vs. Extrinsic Measures
| Intrinsic (Test Property) | Extrinsic (Population-Dependent) | |
|---|---|---|
| Measures | Sensitivity, Specificity | PPV, NPV |
| Depends on Prevalence? | No | Yes |
| Conditions on | True disease status | Test result |
| Clinical Question | "How good is this test?" | "What does my result mean?" |
The Prevalence Paradox
Imagine screening 10,000 people for a disease with prevalence = \(1\%\), using a test with \(\text{Sn} = 95\%\) and \(\text{Sp} = 95\%\).
How Prevalence Shifts the Numbers
Same test (\(\text{Sn} = 95\%\), \(\text{Sp} = 95\%\)), different populations:
| Prevalence | PPV | NPV |
|---|---|---|
| \(1\%\) | \(16.1\%\) | \(99.9\%\) |
| \(10\%\) | \(67.9\%\) | \(99.4\%\) |
| \(50\%\) | \(95.0\%\) | \(95.0\%\) |
| \(90\%\) | \(99.4\%\) | \(67.9\%\) |
Intuition: Why Low Prevalence Tanks PPV
How to Calculate PPV & NPV
Example 1: HIV Screening
A rapid HIV test has \(\text{Sn} = 99.7\%\) and \(\text{Sp} = 99.5\%\). Prevalence in a low-risk population is \(0.1\%\). Screen 100,000 people.
Example 2: Strep Throat in a Clinic
A rapid strep test: \(\text{Sn} = 86\%\), \(\text{Sp} = 95\%\). In a pediatric clinic during winter, prevalence = \(30\%\). Use \(N = 1{,}000\).
Example 3: Direct Bayes Formula
A mammogram has \(\text{Sn} = 90\%\) and \(\text{Sp} = 88\%\). Breast cancer prevalence in screened women age 40-49 is about \(1.5\%\). Find PPV using the formula directly:
About 9 out of 10 positive mammograms in this age group are false alarms: a vital fact for patient counseling.
Common Mistakes
Question 1 of 5
A disease has a prevalence of \(5\%\). A test has sensitivity = \(90\%\) and specificity = \(90\%\). In a group of 10,000 people, how many false positives would you expect?
Question 2 of 5
All else being equal, what happens to PPV when the prevalence of the disease increases?
Question 3 of 5
A test has \(\text{Sn} = 95\%\) and \(\text{Sp} = 95\%\). Prevalence is \(50\%\). What is the PPV?
Question 4 of 5
Which of the following is NOT affected by disease prevalence?
Question 5 of 5
In a low-prevalence population, a test with \(99\%\) sensitivity and \(99\%\) specificity produces a positive result. Which statement best describes the situation?