HomeMedicine & BiophysicsScreening Test PPV vs Prevalence

Screening Test PPV vs Prevalence

Watch why a positive screening result means something different depending on how common the disease is: tune sensitivity, specificity and prevalence, and see a live 3D population get tested with true/false positives and negatives color-coded.

Medicine & Biophysics3DModerate60 FPS
medicine-topic-58 ↗ Open standalone

A screening test's sensitivity and specificity are fixed properties of the test, but its positive predictive value — the chance a positive result is actually correct — depends heavily on how common the condition is in the population being screened. This simulator tests a live 3D population of simulated people with adjustable sensitivity, specificity and disease prevalence, color-codes every true positive, false positive, false negative and true negative, and reports the live PPV so you can watch it swing from confidently high to surprisingly low at the same fixed test accuracy.

⚙ Under the hood

Test a live 3D grid of simulated people with a screening test of fixed sensitivity and specificity, and watch the positive predictive value swing from confidently high to surprisingly low as you dial disease prevalence down — with false positives visibly overwhelming true positives in the rare-disease case.

positive predictive valuescreening testdisease prevalenceBayes theoremsensitivity specificitybase rate fallacypublic healthepidemiology

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)