Input Parameters
ROC curve shape (equal variances, b = 1)
Calculated Statistics
Enter an AUROC and prevalence
What AUROC leaves open
Drag the operating point
Every point on the ROC curve has the same AUROC. Drag the point on the curve, the line on the right or the sliders to trade sensitivity for specificity, and watch PPV and NPV at your prevalence.
ROC curve
PPV and NPV along the curve
Enter an AUROC and prevalence to explore operating points.
PPV and NPV across prevalence
Sensitivity and specificity at the operating point are held fixed while prevalence changes. Click or drag to set the prevalence.
Enter an AUROC and prevalence to draw the curves.
PPV and NPV by AUROC and prevalence
Each point is a test with the AUROC on the vertical axis, used at the prevalence on the horizontal axis.
PPV
NPV
Enter an AUROC and prevalence to draw the maps.
2×2 Contingency Table (per 10,000 people)
| Disease Present | Disease Absent | Total | |
|---|---|---|---|
| Test Positive | -- | -- | -- |
| Test Negative | -- | -- | -- |
| Total | -- | -- | 10,000 |
Report summary
Plain-language summary of the inputs, the assumptions and the results, ready to paste into a note or a manuscript.
Enter an AUROC and prevalence to build the summary.
Key Formulas
References
- Hanley JA, McNeil BJ. The meaning and use of the area under a receiver operating characteristic (ROC) curve. Radiology. 1982;143(1):29-36. doi:10.1148/radiology.143.1.7063747
- Metz CE. Basic principles of ROC analysis. Semin Nucl Med. 1978;8(4):283-298. doi:10.1016/s0001-2998(78)80014-2
- Youden WJ. Index for rating diagnostic tests. Cancer. 1950;3(1):32-35.
- Saito T, Rehmsmeier M. The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets. PLoS One. 2015;10(3):e0118432. doi:10.1371/journal.pone.0118432
- Pepe MS. The Statistical Evaluation of Medical Tests for Classification and Prediction. Oxford: Oxford University Press; 2003.
Assumes the ROC curve is binormal, which fits many scores well but is not guaranteed; a published curve can bend differently, so the sensitivity at a given specificity here is an estimate. Also assumes sensitivity and specificity carry over to your population, which fails when case mix or disease spectrum differs. Results are point estimates without confidence intervals; for those, use the 2×2 counts in the Diagnostic Calculator. For a reported F1 score, see the F1 Score Calculator.