sensitivity and specificity , which are defined as the number of true positive decisions / the number of actually positive cases and the number of true negative decisions / the number of actually negative cases , respectively , constitute the basic measures of performance of diagnostic tests ( table 1 ) .
when the results of a test fall into one of two obviously defined categories , such as either the presence or absence of a disease , then the test has only one pair of sensitivity and specificity values .
however , in many diagnostic situations , making a decision in a binary mode is both difficult and impractical .
. there may be a considerable variation in the diagnostic confidence levels between the radiologists who interpret the findings . as a result ,
a single pair of sensitivity and specificity values is insufficient to describe the full range of diagnostic performance of a test .
consider an example of 70 patients with solitary pulmonary nodules who underwent plain chest radiography to determine whether the nodules were benign or malignant ( table 2 ) . according to the biopsy results and/or follow - up evaluations , 34 patients actually had malignancies and 36 patients had benign lesions .
chest radiographs were interpreted according to a five - point scale : 1 ( definitely benign ) , 2 ( probably benign ) , 3 ( possibly malignant ) , 4 ( probably malignant ) , and 5 ( definitely malignant ) . in this example
, one can choose from four different cutoff levels to define a positive test for malignancy on the chest radiographs : viz .
2 ( i.e. , the most liberal criterion ) , 3 , 4 , and 5 ( i.e. , the most stringent criterion )
. therefore , there are four pairs of sensitivity and specificity values , one pair for each cutoff level , and the sensitivities and specificities depend on the cutoff levels that are used to define the positive and negative test results ( table 3 ) . as the cutoff level decreases , the sensitivity increases while the specificity decreases , and vice versa . to deal with these multiple pairs of sensitivity and specificity values , one can draw a graph using the sensitivities as the y coordinates and the 1-specificities or fprs as the x coordinates ( fig . 1a ) .
each discrete point on the graph , called an operating point , is generated by using different cutoff levels for a positive test result .
an roc curve can be estimated from these discrete points , by making the assumption that the test results , or some unknown monotonic transformation thereof , follow a certain distribution .
for this purpose , the assumption of a binormal distribution ( i.e. , two gaussian distributions : one for the test results of those patients with benign solitary pulmonary nodules and the other for the test results of those patients with malignant solitary pulmonary nodules ) is most commonly made ( 1 , 2 ) . the resulting curve is called the fitted or smooth roc curve ( fig .
the estimation of the smooth roc curve based on a binormal distribution uses a statistical method called maximum likelihood estimation ( mle ) ( 3 ) .
when a binormal distribution is used , the shape of the smooth roc curve is entirely determined by two parameters .
the first one , which is referred to as a , is the standardized difference in the means of the distributions of the test results for those subjects with and without the condition ( appendix ) ( 2 , 4 ) .
the other parameter , which is referred to as b , is the ratio of the standard deviations of the distributions of the test results for those subjects without versus those with the condition ( appendix ) ( 2 , 4 ) .
another way to construct an roc curve is to connect all the points obtained at all the possible cutoff levels . in the previous example , there are four pairs of fpr and sensitivity values ( table 3 ) , and the two endpoints on the roc curve are 0 , 0 and 1 , 1 with each pair of values corresponding to the fpr and sensitivity , respectively . the resulting roc curve is called the empirical roc curve ( fig .
because the roc curve displays the sensitivities and fprs at all possible cutoff levels , it can be used to assess the performance of a test independently of the decision threshold ( 5 ) .
one of the most popular measures is the area under the roc curve ( auc ) ( 1 , 2 ) .
auc is a measure of the overall performance of a diagnostic test and is interpreted as the average value of sensitivity for all possible values of specificity ( 1 , 2 ) .
it can take on any value between 0 and 1 , since both the x and y axes have values ranging from 0 to 1 .
the closer auc is to 1 , the better the overall diagnostic performance of the test , and a test with an auc value of 1 is one that is perfectly accurate ( fig .
the line segment from 0 , 0 to 1 , 1 has an area of 0.5 ( fig .
2 ) . if we were to rely on pure chance to distinguish those subjects with versus those without a particular disease , the resulting roc curve would fall along this diagonal line , which is referred to as the chance diagonal ( fig .
a diagnostic test with an auc value greater than 0.5 is , therefore , at least better than relying on pure chance , and has at least some ability to discriminate between subjects with and without a particular disease ( fig .
2 ) . because sensitivity and specificity are independent of disease prevalence , auc is also independent of disease prevalence ( 1 , 5 ) .
auc can be estimated both parametrically , with the assumption that either the test results themselves or some unknown monotonic transformation of the test results follows a binormal distribution , and nonparametrically from the empirical roc curve without any distributional assumption of the test results ( figs .
several nonparametric methods of estimating the area under the empirical roc curve and its variance have been described ( 6 - 8 ) .
the nonparametric estimate of the area under the empirical roc curve is the summation of the areas of the trapezoids formed by connecting the points on the roc curve ( fig .
the nonparametric estimate of the area under the empirical roc curve tends to underestimate auc when discrete rating data ( e.g. , the five - point scale in the previous example ) are collected , whereas the parametric estimate of auc has negligible bias except when extremely small case samples are employed ( 2 , 4 ) . for discrete rating data ,
however , when discrete rating data are collected , if the test results are not well distributed across the possible response categories ( e.g. , in the previous example , those patients with actually benign lesions and those patients with actually malignant lesions tend to be rated at each end of the scale , 1 = definitely benign and 5 = definitely malignant , respectively ) , the data may be degenerate and , consequently , the parametric method may not work well ( 2 , 4 ) . using the nonparametric method
is an option in this case , but may provide even more biased results than it normally would ( 2 ) . for continuous or quasi - continuous data ( e.g. , a percent - confidence scale from 0% to 100% ) , the parametric and nonparametric estimates of auc will have very similar values and the bias is negligible ( 2 ) .
therefore , using either the parametric or nonparametric method is fine in this case ( 2 ) . in most roc analyses of radiological tests ,
discrete rating scales with five or six categories ( e.g. , definitely absent , probably absent , possibly present , probably present and definitely present ) are used , for which the parametric method is recommended unless there is a problem with degenerate data .
an auc of a test obtained from a group of patients is not a fixed , true value , but a value from a sample that is subject to statistical error .
therefore , if one performs the same test on a different group of patients with the same characteristics , the auc which is obtained may be different .
although it is not possible to specifically define a fixed value for the true auc of a test , one can choose a range of values in which the true value of auc lies with a certain degree of confidence .
the 95% ci gives the range of values in which the true value lies and the associated degree of confidence .
that is to say , one can be 95% sure that the 95% ci includes the true value of auc ( 9 , 10 ) .
in other words , if one believes that the true value of auc is within the 95% ci , there is a 5% chance of its being wrong .
therefore , if the lower bound of the 95% ci of auc for a test is greater than 0.5 , then the test is statistically significantly better ( with a 5% chance of being wrong or a significance level of 0.05 ) than making the diagnostic decision based on pure chance , which has an auc of 0.5 .
since auc is a measure of the overall performance of a diagnostic test , the overall diagnostic performance of different tests can be compared by comparing their aucs .
the bigger its auc is , the better the overall performance of the diagnostic test . when comparing the aucs of two tests , equal auc values mean that the two tests yield the same overall diagnostic performance , but does not necessarily mean that the two roc curves of the two tests are identical ( 3 ) .
the curves are obviously not identical . although the aucs and , therefore , the overall performances of the two tests are the same , test b is better than test a in the high fpr range ( or high sensitivity range ) , whereas test a is better than test b in the low fpr range ( or low sensitivity range ) ( fig .
the equality of two roc curves can be tested by using the two parameters , a and b , instead . because the shape of a binormal smooth roc curve can be completely specified by the two parameters , a and b
, the equality of the two roc curves under the binormal assumption can be assessed by testing the equality of the two sets of parameters , a and b , i.e. by comparing the two sets of values from the two roc curves .
the null hypothesis and alternative hypothesis of the test are h0 : a1 = a2 and b1 = b2 versus h1 : a1  a2 or b1  b2 , respectively , where 1 and 2 denote the two different roc curves ( 2 , 3 ) . according to this method , the roc curves and , consequently
, the diagnostic performances of different tests are considered to be different , unless the roc curves are identical : in other words , unless they yield equal sensitivities for every specificity between 0 and 1 or equal specificities for every sensitivity between 0 and 1 ( 4 ) .
in some clinical settings , when comparing the performances of different diagnostic tests , one may be interested in only a small portion of the roc curve and comparing the aucs and the overall diagnostic performance may be misleading .
when screening for a serious disease in a high - risk group ( e.g. , breast cancer screening ) , the cutoff range for a positive test should be chosen in such a way as to provide good sensitivity , even if the fpr is high , because false negative test results may have serious consequences .
on the other hand , in screening for a certain disease , whose prevalence is very low and for which the subsequent confirmatory tests and/or treatments are very risky , a high specificity and low fpr is required .
if the cutoff range for a positive test is not adjusted accordingly , almost all of the positive decisions will be false positive decisions , resulting in many unnecessary , risky follow - up examinations and/or treatments . in figure 3
, although the aucs and overall performances of the two tests are the same , in the former diagnostic situation requiring high sensitivity , test b would be better than test a , whereas in the latter situation requiring a low fpr , test a would be better than test b. auc , as a measure of the overall diagnostic performance , is not helpful in these specific diagnostic situations .
the diagnostic performance of a test should be judged in the context of the diagnostic situation to which the test is applied . and
, depending on the specific diagnostic situation , only a portion of the overall roc curve may need to be considered .
one way to consider only a portion of an roc curve is to use the roc curve to estimate the sensitivity at a particular fpr , and to compare the sensitivities of different roc curves at a particular fpr ( fig .
4 ) . another way is to use the partial area under the roc curve ( fig .
partial roc area is defined as the area between two fprs or between two sensitivities .
the partial area under the roc curve between two fprs , fpr1 = e1 and fpr2 = e2 , can be denoted as a(e1  fpr  e2 ) ( 2 ) .
unlike auc , whose maximum possible value is always 1 , the magnitude of the partial area under the roc curve is dependent on the two fprs chosen .
therefore , the standardization of the partial area by dividing it by its maximum value is recommended and jiang et al .
the maximum value of the partial area between fpr1 = e1 and fpr2 = e2 is equal to the width of the interval , e2 - e1 .
the partial area index is interpreted as the average sensitivity for the range of fprs or specificities chosen ( 1 , 2 ) .
unlike in the case of many laboratory tests , the interpretation of most radiological tests is qualitative and there are several ways to express the reader 's confidence in the presence of a disease , namely a binary result which is either positive or negative for the disease , a discrete rating scale such as a five - point scale , and a continuous or quasi - continuous scale such as a percent - confidence scale from 0% to 100% ( 2 ) .
the first approach is inadequate for roc analysis , however , the second and third approaches are appropriate ( 2 ) . in most of the roc analyses of radiological tests which have been conducted to date ,
( 13 ) performed a study to assess how the estimates of performance on roc curves are affected by the use of a discrete five - point scale versus a continuous percent - confident scale .
they compared the aucs obtained with the two different scales in the case of abdominal cts used for detecting abdominal masses and suggested that the discrete rating or continuous scales are often not significantly different , and can be used interchangeably in image - evaluation roc studies , although they recommended continuous scales for routine use in radiological roc studies , because of their potential advantages in some situations ( 13 ) .
having as many categories as possible or using a continuous or quasi - continuous scale is desirable theoretically ( 14 ) and has been shown to produce results essentially equivalent to those of discrete scales , when the latter produce well - distributed operating points ( 15 ) .
several software programs that are frequently used for roc analysis are available on the internet .
rockit , which is available at http://xray.bsd.uchicago.edu/krl/roc_soft.htm ( accessed december 31 , 2003 ) , is a program for parametric roc analysis that combines the features of rocfit , labroc , corroc2 , clabroc and indroc .
it estimates the smooth roc curve and its auc , 95% ci of auc , and the parameters a and b on the basis of a binormal distribution .
rockit tests the statistical significance of the differences between two paired ( i.e. , two roc curves from the same group of patients ) , partially paired , or unpaired ( i.e. , two roc curves from two different groups of patients , viz .
the difference between two aucs ( i.e. , the difference in the overall diagnostic performance of the two tests ) is tested with the z test .
differences in the parameters a and b of two roc curves ( i.e. , the equality of the two roc curves ) are tested using the bivariate chi - square test , as presented by metz et al ( 2 , 4 ) .
rockit also estimates the sensitivity at a particular fpr and tests the statistical significance of the difference between the two sensitivities on the two curves at a particular fpr by means of the z test .
plotroc.xls , which is available at http://xray.bsd.uchicago.edu/krl/roc_soft.htm ( accessed december 31 , 2003 ) , is a microsoft excel 5.0 ( microsoft , redmond , wa , u.s.a . ) macro sheet which takes the a and b parameter values based on the assumption of a binormal distribution to plot a smooth roc curve .
medcalc ( medcalc software , mariakerke , belgium ) , which is available at http://www.medcalc.be ( accessed december 31 , 2003 ) , is a statistical package that offers nonparametric roc analysis .
it provides the empirical roc curve and nonparametric estimate of the area under the empirical roc curve with its 95% ci , based on the method developed by hanley et al .
a comparison between two paired roc curves is available and the statistical significance of the difference between two aucs is calculated with the z test , as described by hanley et al .
chicago , il , u.s.a . ) also provides the empirical roc curve and nonparametric estimate of the area under the empirical roc curve and its 95% ci , which are calculated using a method similar to that of medcalc .
partarea.for , which is available at http://www.bio.ri.ccf.org/research/roc ( accessed december 31 , 2003 ) , is a fortran program designed to estimate the partial area under the smooth roc curve between two fprs , based on the method developed by mcclish ( 11 ) .
it also tests the statistical significance of the difference between the two partial areas of two roc curves using the z test .
this program should be used in conjunction with a parametric program such as rockit . to estimate the partial area
, it requires the a and b parameter estimates , along with the variances ( a ) and ( b ) and the covariance ( a , b ) of an roc curve , which can be obtained by means of a parametric program . when comparing two partial areas of two roc curves it also requires the covariances ( a1 , a2 ) , ( a1 , b2 ) , ( b1 , a2 ) and ( b1 , b2 ) , which can be obtained using a parametric program ( note : the subscripts 1 and 2 denote two different roc curves ) .
this program needs to be compiled before it can be used on a dos or windows - based computer .

 the roc curve is a plot of test sensitivity along the y axis versus its 1-specificity or fpr along the x axis.in roc analyses of radiological tests , discrete rating scales with five or six categories are widely used , however , it would be preferable to have as many categories as possible or to use a continuous or quasi - continuous scale for data collection.auc , which is interpreted as the average value of sensitivity for all possible values of specificity , is a measure of the overall performance of a diagnostic test .
auc can take on any value between 0 and 1 , where a bigger value suggests the better overall performance of a diagnostic test.the nonparametric estimate of the area under the empirical roc curve tends to underestimate auc when discrete rating data are collected , whereas the parametric estimate of auc has negligible bias , except when extremely small case samples are employed .
therefore , when discrete rating scales are employed , the use of a parametric method is recommended.the diagnostic performance of a test should be judged in the context of the diagnostic situation to which the test is applied .
the partial roc area and sensitivity at a particular fpr are useful indicators , when only a portion of the entire roc curve needs to be considered .
the roc curve is a plot of test sensitivity along the y axis versus its 1-specificity or fpr along the x axis . in roc analyses of radiological tests ,
discrete rating scales with five or six categories are widely used , however , it would be preferable to have as many categories as possible or to use a continuous or quasi - continuous scale for data collection .
auc , which is interpreted as the average value of sensitivity for all possible values of specificity , is a measure of the overall performance of a diagnostic test .
auc can take on any value between 0 and 1 , where a bigger value suggests the better overall performance of a diagnostic test .
the nonparametric estimate of the area under the empirical roc curve tends to underestimate auc when discrete rating data are collected , whereas the parametric estimate of auc has negligible bias , except when extremely small case samples are employed .
therefore , when discrete rating scales are employed , the use of a parametric method is recommended .
the diagnostic performance of a test should be judged in the context of the diagnostic situation to which the test is applied .
the partial roc area and sensitivity at a particular fpr are useful indicators , when only a portion of the entire roc curve needs to be considered .
if the data are actually binormal or if a known function can transform the data so that it follows a binormal distribution , parameters a ( the standardized difference in the means of the distributions of the test results for those subjects with and without the condition ) and b ( the ratio of the standard deviations of the distributions of the test results for those subjects without versus those with the condition ) can be estimated directly from the means and standard deviations of the distributions of those subjects with and without the condition .
thus , we will have a = ( u1 - u0 ) / 1 ; b = 0 / 1 where ui is the mean and i is the standard deviation of the test results , i = 0 ( without the condition ) , 1 ( with the condition ) . for discrete rating data ,
we hypothesize discrete rating scale test results , t0 ( without the condition ) and t1 ( with the condition ) as a categorization of two latent continuous scale random variables , t0 and t1 , respectively , each of which has a normal distribution . for a discrete rating scale test result , ti , which can take on one of the k - ordered values , where i = 0 ( without the condition ) or 1 ( with the condition ) , we assume that there are k - 1 unknown decision thresholds c1 , c2 , ... , ck-1 , so that if ti  c1 , then ti = 1 if cj - 1 < ti  cj , then ti = j , j = 2 , 3 , ... , k - 1 if ti > ck - 1 , then ti = k because we assume that both t0 and t1 have normal distributions , then t0 ~ n ( 0 , 0 ) ; t1 ~ n ( 1 , 1 ) where 0 , 1 are the means and 0 , 1 are the variances of the normal distributions . therefore , we will have a = ( 1 - 0 ) / 1 ; b = 0 / 1
 the receiver operating characteristic ( roc ) curve , which is defined as a plot of test sensitivity as the y coordinate versus its 1-specificity or false positive rate ( fpr ) as the x coordinate , is an effective method of evaluating the performance of diagnostic tests . 
 the purpose of this article is to provide a nonmathematical introduction to roc analysis . 
 important concepts involved in the correct use and interpretation of this analysis , such as smooth and empirical roc curves , parametric and nonparametric methods , the area under the roc curve and its 95% confidence interval , the sensitivity at a particular fpr , and the use of a partial area under the roc curve are discussed . 
 various considerations concerning the collection of data in radiological roc studies are briefly discussed . 
 an introduction to the software frequently used for performing roc analyses is also presented . 