[Durgical](https://durgical.com/en/) › [DurgiPedia](https://durgical.com/en/durgipedia/) › [Epidemiology](https://durgical.com/en/epidemiology/) › [Diagnostic tests](https://durgical.com/en/epidemiology/areas/diagnostic/) › How prevalence changes predictive values

# How prevalence changes predictive values

- Concept

The same test's positives are right more often where the disease is common and less often where it is rare.

Updated Nov 5, 2026

## Key points

- As prevalence falls: PPV falls and NPV rises.
- As prevalence rises: PPV rises and NPV falls.
- Sensitivity and specificity do not change with prevalence (if the spectrum of patients is the same).
- In rare diseases, most screening positives can be false even when the test is good.
- Raising the prior probability (screening high-risk groups) improves the PPV.

## What it is

Sensitivity and specificity belong to the test, but predictive values also depend on how many diseased people are in the group tested. When prevalence falls, healthy people are so numerous that even a small percentage of false positives outnumbers the true positives: PPV falls and NPV rises. That is why a test that works very well in a referral hospital can produce mostly false positives when it screens the general population.

## Worked example

- Data: a test with 95% sensitivity and 90% specificity is used in two places, with 1,000 people in each.
- Referral clinic, prevalence 40%: 400 diseased (380 TP, 20 FN) and 600 healthy (540 TN, 60 FP).
- Clinic: PPV = 380 / 440 ≈ 86.4%; NPV = 540 / 560 ≈ 96.4%.
- General population, prevalence 2%: 20 diseased (19 TP, 1 FN) and 980 healthy (882 TN, 98 FP).
- Population: PPV = 19 / 117 ≈ 16.2%; NPV = 882 / 883 ≈ 99.9%.
- Reading: with the same test, 86 of every 100 positives are real in the clinic and only 16 in the general population.

## The same test (sensitivity 95%, specificity 90%) at two prevalences

| Setting | Prevalence | PPV | NPV |
| --- | --- | --- | --- |
| Referral clinic | 40% | 86.4% | 96.4% |
| General population | 2% | 16.2% | 99.9% |

## Markers

- PPV
- NPV
- prevalence

## In practice

- Screening programmes target age or risk groups where prevalence is higher, so positives are more reliable.
- A positive result in someone without risk factors calls for more caution and confirmation than the same result in a patient with symptoms.

## Common pitfalls

- Assuming a test with 95% sensitivity and 90% specificity has a PPV of 95% everywhere.
- Forgetting that the prevalence in the clinic acts as the pre-test probability.
- Blaming the test for a change in PPV that actually comes from the population tested.

## Memory aid

Where disease is scarce, positives fib more: when few are ill, false positives take over.

## Test yourself

Think of the answer, then tap the question to see it.

## If prevalence falls, what happens to PPV and NPV?

PPV falls and NPV rises.

## Does a test's sensitivity change when it moves from a hospital to the community?

In principle no, because it is calculated only among diseased people; it can change if the spectrum of patients differs (milder cases).

## Why does screening only high-risk groups improve the PPV?

It raises the prevalence in the group tested, so a larger share of positives are true.

[Add to my cards (3)](https://durgical.app/estudiar/?add=/en/epidemiology/how-prevalence-changes-predictive-values/)

## Connections

## Related 6

- [Positive and negative predictive values](https://durgical.com/en/epidemiology/positive-and-negative-predictive-values/)
- [Prevalence](https://durgical.com/en/epidemiology/prevalence/)
- [Pre-test and post-test probability](https://durgical.com/en/epidemiology/pre-test-and-post-test-probability/)
- [Principles of screening](https://durgical.com/en/epidemiology/principles-of-screening/)
- [Sensitivity](https://durgical.com/en/epidemiology/sensitivity/)
- [Specificity](https://durgical.com/en/epidemiology/specificity/)

[← All of epidemiology](https://durgical.com/en/epidemiology/)

Educational content on epidemiological and statistical methods; the examples use made-up numbers to teach the calculation. Not a clinical or legal guide: current Colombian rules are in the official sources.

Sources: [Sensitivity, Specificity, and Predictive Values: Foundations, Pliabilities, and Pitfalls in Research and Practice](https://www.frontiersin.org/articles/10.3389/fpubh.2017.00307/full) (Frontiers in Public Health, 2017); [Statistical Guidance on Reporting Results from Studies Evaluating Diagnostic Tests - Guidance for Industry and FDA Staff](https://www.fda.gov/regulatory-information/search-fda-guidance-documents/statistical-guidance-reporting-results-studies-evaluating-diagnostic-tests-guidance-industry-and-fda) (U.S. Food and Drug Administration, 2007).

## **Spotted a mistake?** We are always improving for the community. Tell us what is wrong and our team will review it. Report a mistake

Representative model, for educational purposes only.

---
Source: https://durgical.com/en/epidemiology/how-prevalence-changes-predictive-values/
License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Cite as: DurgiPedia (durgical.com), https://durgical.com/en/epidemiology/how-prevalence-changes-predictive-values/
