How prevalence changes the meaning of a positive test

When a condition is uncommon, even a test with high sensitivity and specificity can yield more false positives than true positives.

Educational reference, not medical advice. The Journal of Biohacking does not recommend any compound, dose or practice; discuss medical decisions with a qualified clinician. Where a dose or an exposure appears, it is a figure reported in a cited study, not an instruction. Editorial position on dosing.

Research question

Why can the same test produce a different proportion of genuine positives in two populations?

Answer

Positive predictive value is the proportion of positive results that correspond to the target condition. Even if sensitivity and specificity are identical in two populations, prevalence determines how many people with and without the condition are tested. In a population with fewer people who have the condition, there are fewer true positives and more opportunities for false positives. As a result, a positive finding can carry a different probability of the condition in each setting.

Use the correct denominator

Sensitivity uses people with the condition as its denominator. Specificity uses people without it. Positive predictive value uses all positive results, including both true and false positives. Keeping these denominators separate prevents a statement such as 90% sensitivity from being read as a 90% probability that any positive result represents the condition.

Compare two hypothetical populations

Assume 10,000 people per population, with 90% sensitivity and 95% specificity in both. At 1% prevalence, the test yields 90 true positives and 495 false positives. The predictive value is 90 out of 585, or 15.4%. At 10% prevalence, the respective counts are 900 and 450, and the predictive value is 900 out of 1,350, or 66.7%. The arithmetic changes with prevalence alone in this example.

Check the population before transferring the estimate

Real tests may behave differently across settings because disease severity, competing diagnoses, the reference standard and verification procedures can vary. A reported predictive value therefore belongs with the study’s recruitment method and case definition. The hypothetical cohorts isolate one source of variation and supply no performance estimate for a named test.

Positive predictive value at two prevalences

In each scenario, 10,000 people are tested at 90% sensitivity and 95% specificity. Positive predictive value is true positives divided by all positive results. Values are rounded to one decimal place.

Figure data
Measure1% prevalence10% prevalence
True positives90900
False positives495450
Predictive value (%)15.466.7

Download figure data as CSV · Browse the figure index

Following the negative results

In the article’s hypothetical population with 1% prevalence, ten people with the condition and 9,405 people without it receive a negative result. The negative predictive value is 9,405 divided by 9,415, approximately 99.9%. The denominator differs from the denominator for positive predictive value. A report that uses only the word accuracy leaves both conditional questions open.

Video explanation

Follow the arithmetic from a hypothetical test population to the fraction of positive results that are true positives.

Read the video transcript

Positive predictive value

Positive predictive value. Take a hypothetical group of 10,000 people. At 1% prevalence, 100 have the condition and 9,900 do not.

True and false positives. With 90% sensitivity, 90 people with the condition test positive. With 95% specificity, 5% of the 9,900 without it also test positive. That gives 495 false positives.

A denominator of 585. Of 585 positive results, 90 are true positives. Dividing 90 by 585 gives a positive predictive value of approximately 15.4%.

The role of prevalence. This fraction belongs to the group with 1% prevalence. A different prevalence changes the balance of true and false positives even if sensitivity and specificity stay fixed.

10,000 people at 1% prevalence, 90% sensitivity and 95% specificity. Counts and predictive value are calculated from these assumptions.

Download the film · Download the transcript

References

  1. Merck Manual Professional Edition. Understanding Medical Tests and Test Results

    Read the sections on sensitivity, specificity, predictive values and dichotomous tests. Both numerical scenarios in this article are newly calculated hypothetical examples.

  2. FDA statistical guidance for studies evaluating diagnostic tests

    Read the guidance text on predictive values and assessment against a reference standard.