AUC-ROC Online Calculator for a Single Point

Although it is best to estimate the receiver operating characteristic (ROC) curve using multiple coordinates of sensitivity and specificity, this is not always possible. Here, we will use the esimation given by Zhang and Mueller (2005)[1] of the AUC given a single point.

Summary of method

The lower and upper bounds of the AUC (Area under ROC curve) given a single point (x = 1 - specificity, y = sensitivity) can be estimated geometrically. The lower bound is the area of the quadrilateral defined between (0,0), point p, (1,1), and (1,0) which is
$$A_{min}=\frac{(sensitivity + specificity)}{2}$$

There are three cases of ROC curves, in the most general case, the curve has five (three non-axis) line segments; in the other two cases, one of the line segments degenerates to a point. Depending on where is the point of data, there is a different upper bound (see below). The AUC can be approximated as the mean of the maximum area and minimum area.

Let $F$ denote (false alarm rate) false positive rate = 1 - specificity;
$H$ denote (hit rate) true positive rate = sensitivity

\[ A_{max} = \begin{cases} 1 - 2F ( 1 - H),& \text{if } F \leq 0.5 < H\\ 1 - \frac{F}{2H},& \text{if } F \leq H < 0.5 \\ 1 - \frac{1 - H}{2(1 - F)},& \text{if } 0.5 < F \leq H \end{cases} \]

Calculator

Sensitivity:


Specificity:


AUC max:

AUC min:

AUC estimate: