Positive & negative predictive value and prevalence
PPV is the probability that a person with a positive test truly has the disease; NPV is the probability that a person with a negative test is truly disease-free. Unlike sensitivity and specificity, predictive values depend on prevalence: higher prevalence raises PPV and lowers NPV.
Overview
Patients and clinicians want to know: "My test is positive. Do I have the disease?" That question is answered by predictive values.
| Disease + | Disease - | |
|---|---|---|
| Test + | TP (a) | FP (b) |
| Test - | FN (c) | TN (d) |
- PPV = TP / (TP + FP) = a/(a+b): calculated across the positive row.
- NPV = TN / (TN + FN) = d/(c+d): calculated across the negative row.
Prevalence drives predictive values
| Change | PPV | NPV |
|---|---|---|
| Prevalence (pretest probability) increases | Increases | Decreases |
| Prevalence decreases | Decreases | Increases |
| Sensitivity increases | Small rise | Increases |
| Specificity increases | Increases | Small rise |
This is why a positive screening test in a low-risk population is often a false positive, and why the same test is more meaningful in a high-risk clinic. Pretest probability for an individual patient works the same way as prevalence.
Worked example: same test, different prevalence
Test: sensitivity 90%, specificity 90%. Population of 1,000.
| Prevalence | TP | FP | FN | TN | PPV | NPV |
|---|---|---|---|---|---|---|
| 50% | 450 | 50 | 50 | 450 | 90% | 90% |
| 10% | 90 | 90 | 10 | 810 | 50% | 98.8% |
| 1% | 9 | 99 | 1 | 891 | 8.3% | 99.9% |
At 1% prevalence, more than 90% of positive results are false positives, even with a "90% accurate" test.
Step-by-step method
- Pick a convenient population size (1,000 or 10,000).
- Multiply by prevalence to get the number with disease; the rest are disease-free.
- Diseased x sensitivity = TP; the remainder are FN.
- Disease-free x specificity = TN; the remainder are FP.
- PPV = TP/(TP+FP); NPV = TN/(TN+FN).
When the question gives a 2 x 2 table directly, check whether it is arranged with disease in columns; if the axes are swapped, recalculate carefully.
Raising PPV in practice
- Test people at higher risk (targeted screening, symptoms present).
- Use a second, more specific confirmatory test on positives (serial testing): the prevalence among first-test positives is much higher, so PPV of the second test is high.
- Raise the cutoff for positivity (increases specificity).
Counseling patients
When telling a patient about a positive screening result, use the PPV: "Most people with this result turn out not to have the disease; we need a confirmatory test." For a negative result on a test with high NPV in a low-risk patient, reassurance is appropriate.
Exam vignette approach
A rapid test is used in a clinic where HIV prevalence is 0.5%, then the same test is moved to a clinic where prevalence is 15%. The question asks what happens. Answer: sensitivity and specificity are unchanged; PPV rises markedly; NPV falls slightly. Another favorite: a physician screens a low-risk population and is surprised that most positive results are false. The reason is the low prevalence, not a faulty test. The best next step after a positive screening result is a confirmatory, more specific test before labeling or treating the patient.
🧭 Algorithm: Evaluating a screening or diagnostic test
Columns = disease present/absent (gold standard); rows = test +/−. Cells a (TP), b (FP), c (FN), d (TN).
Sensitivity = a/(a+c); specificity = d/(b+d). Fixed for a given cutoff.
PPV = a/(a+b); NPV = d/(c+d). Change with prevalence.
Higher prevalence → PPV ↑, NPV ↓. Lower prevalence (screening the general population) → PPV ↓, NPV ↑.
Rule out → highly sensitive test (SnNout); rule in/confirm → highly specific test (SpPin).
Lower cutoff → sens ↑, spec ↓ (more FP). Higher cutoff → spec ↑, sens ↓ (more FN).
Use sensitive screen, then specific confirmatory test; check lead-time, length-time and overdiagnosis bias before claiming benefit.
Key thresholds
- Sens/spec: columns; PPV/NPV: rows
- ↑ prevalence → ↑ PPV and ↓ NPV
- SnNout: negative highly sensitive test rules out
- SpPin: positive highly specific test rules in
- Accuracy = (a+d) ÷ total
📚 Source: Standard biostatistics (USMLE Biostatistics & Epidemiology outline 2025–2026; Gordis 6th ed.).
🔥 Exam pearls
- PPV = TP/(TP+FP); NPV = TN/(TN+FN).
- Higher prevalence: PPV up, NPV down; sensitivity and specificity unchanged.
- "Probability that a patient with a positive test has the disease" = PPV.
- "Probability that a patient with a negative test is healthy" = NPV.
- Screening a low-prevalence population yields many false positives (low PPV).
- Confirmatory testing of positives raises PPV.
- A disease that becomes more common in a community (for example, during an outbreak) makes every positive test more believable, even though the test itself has not changed.
- Pretest probability for an individual is the bedside version of prevalence.
