Predictive Value Explorer

Predictive Value Explorer

Sensitivity and specificity belong to the test. PPV and NPV belong to the population it is used in. Change the prevalence and see how the meaning of a result shifts.

Test performance

Population

Slider uses a logit scale, so low prevalences get more room.
PPV
P(disease | positive)
NPV
P(no disease | negative)
LR+
Se / (1 − Sp)
LR−
(1 − Se) / Sp

Per 10,000 people tested

DiseaseNo diseaseTotal
Test +
Test −
Total10,000

PPV and NPV across prevalence

The same test, applied in every possible setting. The dashed line marks the current prevalence.

PPVNPV

Fagan nomogram

A ruler that applies Bayes’ theorem: a straight line from pre-test probability through the likelihood ratio lands on the post-test probability.

Positive result (LR+)Negative result (LR−)

How to read it. Mark the pre-test probability on the left axis and the test’s likelihood ratio on the middle axis. Extend the line to the right axis to read the post-test probability.

Why a straight line works. All three axes use log-odds. Because post-test odds = pre-test odds × LR, on a log scale that becomes addition: logit(post) = logit(pre) + ln(LR). The middle axis sits halfway between the other two, so a straight line does the sum for you.

Rule of thumb. LR+ above 10 or LR− below 0.1 usually changes clinical decisions. LRs between 0.5 and 2 barely move the probability.