# Receiver Operating Characteristic Curves and Uncertainty of Measurement

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration compares two receiver operating characteristic (ROC) plots of two diagnostic tests (first test: blue plot, second test: orange plot) measuring the same measurand. The comparisons are for normally distributed healthy and diseased populations, for various values of the mean and standard deviation of the populations, and of the uncertainty of measurement of the tests. A normal distribution of the uncertainty is assumed. The ratio of the areas under the ROC curves of the two diagnostic tests is calculated. The six parameters that you can vary using the sliders are measured in arbitrary units.

Contributed by: Aristides T. Hatjimihail (June 2007)

(Hellenic Complex Systems Laboratory)

Open content licensed under CC BY-NC-SA

## Snapshots

## Details

The ROC plots are used in the evaluation of the clinical accuracy of a diagnostic test applied to a diseased and a nondiseased population. They display the sensitivity of the test versus 1-specificity. Sensitivity is the fraction of the diseased population with a positive test, while specificity is the fraction of the nondiseased population with a negative test. Therefore, the ROC plots display the true positive fraction versus the false positive fraction. Furthermore, the area under a ROC curve is used as an index of the diagnostic accuracy of the respective test.

This Demonstration could be useful in exploring ROC curves and evaluating the maximum medically permissible uncertainty of measurement of a diagnostic test. For example, in the first snapshot the population data describes a bimodal distribution of serum glucose measurements with a non-diabetic and a diabetic population (Lim et al. 2002).

Reference

[1] T.-O. Lim, R. Bakri, Z. Morad, and M. A. Hamid, "Bimodality in Blood Glucose Distribution: Is It Universal?," *Diabetes Care,* 25(12), 2002 pp. 2212-2217.