Abstract
Receiver operating characteristic (ROC) analysis is the standard method for evaluating and describing the accuracy of diagnostic systems with continuous test results or ordinal category data.1–3 In contexts that involve distinguishing between 2 mutually exclusive possibilities (e.g., diseased v. nondiseased), the ROC graph describes the performance of the diagnostic system as the decision threshold is moved across all possible test values or decision points. 4
By custom, ROC graphs depict the true positive rate (tpr = sensitivity) as a function of the false positive rate (fpr = 1 − specificity). Using line segments, one can draw a piece-wise ROC graph by connecting the (fpr, tpr) pairs that correspond to divisions between ordinal categories (e.g., 5-category diagnostic classes ranging from 1 = “strongly indicative of presence” to 5 = “strongly indicative of absence”) or from the empirical (fpr, tpr) pairs that correspond to points along a continuous response scale (e.g., reported values of a blood level). 5 When, however, one believes that empirical data arise from some underlying, continuous response variable, one may wish to describe this belief by fitting a continuous, smooth ROC curve to the data. Beyond incorporating the just-mentioned prior belief into one’s interpretation of the data, basing inferences about accuracy on the parameters of a smoothed curve may help one to avoid inferential errors based on locations of particular (fpr, tpr) pairs that merely represent random numerical fluctuations in the data.
Of the many suggested curve-fitting schemes,6,7 the most commonly used is the so-called binormal model, which assumes that on some monotonic transformation of the original decision variable, the data from the signal-plus-noise population (in medical applications, the “diseased” subjects) and noise-only populations (the “nondiseased” subjects) will conform to overlapping Gaussian distributions with different means and variances. The binormal model converts a linear-space ROC curve to a straight line on normal-deviate axes, so that
where A and B are the intercept and slope of the ROC line, and z(fpr) and z(tpr) are z-transforms of fpr and tpr.
8
Note that
where Φ(•) is the cumulative normal distribution function and Φ−1(•) is its inverse. The parameters A and B are related to AUCz, the total area under the binormal ROC curve, as follows:
The binormal ROC model provides a flexible, intuitively appealing, 2-parameter summary of diagnostic accuracy, and it accommodates data from a wide variety of practical contexts even when empirical data distributions deviate from normality.
9
But the binormal model has one major drawback: Except when B = 1 (i.e., unless the ROC curve is symmetric with respect to the negative diagonal in the ROC square), the binormal model produces ROCs that at some point change from convex to concave. Binormal ROCs with B ≠ 1 also have a point located at z(fpr) = r =
Often, the portion of the curve that falls below the no-information diagonal lies so close to a corner of the ROC square that it is imperceptible. Sometimes, however, curve-fitting maximum likelihood estimation (MLE) algorithms
10
that implement the binormal model generate ROC curves that are “eccentric”
11
and have readily discernible hooks (“rd-hooks”) when plotted on linear coordinate axes. ROC curves with rd-hooks usually occur when −2 < r < 2. Hillis and Berbaum refer to r as the “mean-to-sigma ratio”
12
because
ROCs with Discernible Hooks
ROC curves with rd-hooks call attention to problems with the binormal model that have theoretical and practical importance. Any binormal ROC for which B ≠ 1 is “improper” in the sense that it violates a principle of signal detection theory, that is, rational use of diagnostic information produces a ROC curve with an ever-decreasing likelihood ratio as the decision variable.
13
Using the likelihood ratio (or posterior probability) as the decision variable in a 2-choice classification task necessarily produces a proper ROC curve with an always-positive but monotonically decreasing slope.
14
Binormal ROCs wrongly imply suboptimal or “improper” use of diagnostic information for the portion of the decision axis that lies beyond the curve’s inflection point, which is located where z(fpr) =
If improperness were a real feature of the diagnostic data, the diagnostician would simply treat the data differently to avoid inefficient use of information. Figure 1 illustrates a concrete example of this. Suppose hematocrit were used to detect the presence of blood dyscrasias, and suppose that testing of known D+ and D− populations led to the (made-up) results shown in Figure 1a, where most D+ patients are anemic (and have below-normal hematocrit levels), some D+ patients have levels in the “normal” range, and a few D+ patients are plethoric and have high levels. Using hematocrit values as the decision axis (going from lower to higher hematocrit levels) would produce the solid, obviously hooked ROC curve shown in Figure 1b. But a better approach to these data would transform the decision axis, using distance from 45.5% (the median of the D− population) as the decision criterion. This would result in the dashed, nonhooked ROC—and in superior diagnostic performance.

Hypothetical diagnostic data for blood dyscrasias. (a) Most diseased patients have below-normal hematocrit levels, some have “normal” levels, and a few have high levels. (b) Using hematocrit values as the decision axis (going from lower to higher hematocrit levels) produces an obviously hooked ROC curve (solid line). Transforming the decision axis and using distance from the median of the no-disease population as the decision criterion yields the dashed, nonhooked ROC—and superior diagnostic performance.
When ROCs have rd-hooks, they may give a misleading picture of diagnostic detection throughout much of the ROC square. 15 As we demonstrate below, when rd-hooks appear in the upper right corner, the low-fpr portion of the ROC may be biased upward (i.e., it may imply higher sensitivity than is actually the case).
Commenting on data from radiologic studies, some authors suggest that as a practical matter, ROC with discernible hooks arise mainly from small data sets or from “degenerate” categorical data with poorly allocated boundaries (e.g., multiple thresholds where fpr < 0.02), such that several rating categories contain no subjects.16,17 However, we have encountered several data sets that led to rd-hooked ROCs but did not have these limitations. Although it is difficult to specify all the circumstances that can produce binormal ROCs with rd-hooks, one common situation is that the data have a lower bound and the variance of the D− population is much smaller than the variance of the D+ population.
For example, laboratory test results sometimes yield rd-hooked ROCs if disease is associated with elevated concentrations of an analyte (values of which have a lower bound of zero) and the D− population has low levels of the analyte. This happens, for example, if one applies binormal ROC methods to the cortisol level data published in Carroll and colleagues’ seminal article on the dexamethasone suppression test (DST) in depression.18,19 Carroll and colleagues 18 present their DST findings from 368 patients as a histogram with 33 concentration categories; the histogram shows that following dexamethasone administration, cortisol levels of depressed patients tend to be less suppressed (i.e., they are higher) than the cortisol levels of nondepressed subjects. For the present analysis, we evaluated these data by regrouping them into 13 categories with boundaries chosen so that the locations of the 12 (fpr, tpr) pairs computed from the 13-category data—which appear as large circles in Figure 2—would be well-spaced, with all categories containing at least one member. Using Metz’s ROCKIT software, 20 we obtained binormal parameters A = 0.7075 and B = 0.6185. In this case, then, r = 1.85, and the binormal ROC curve has an rd-hook (see the dashed line in Figure 2). Because the distribution of results from depressed (D+) subjects is much wider than the results from the nondepressed (D−) group, application of the binormal model leads (implausibly and incorrectly) to the conclusion that a subset of depressed individuals have postdexamethasone cortisol levels that fall below typical levels from nondepressed individuals.

Empirical data points (large circles) and fitted ROC curves obtained using the binormal model (dashed line) and the WPF model (dotted line). Diamonds and squares show the operating points estimated with the binormal ROCFIT software and WinBUGS code for the WPF model. Narrow solid lines highlight the relationships between (fpr, tpr) pairs derived from the raw categorical data and 5 of the operating points estimated from each model.
To address problems like these, investigators have developed ROC models with mathematical constraints that require monotonically decreasing slopes and thereby avoid hooked fits to data. Although these models yield proper ROCs, they have limitations. The “proper binormal” ROC model introduced by Birdsall 21 and developed by Metz and colleagues22,23 uses the likelihood ratio of the conventional (improper) ROC model as the new decision variable. This binormal likelihood-ratio (“binormal-LR,” adopting the terminology of Hillis and Berbaum 12 ) model involves a nonmonotonic transformation of the conventional binormal decision variable that (so to speak) divides the conventional binormal decision axis into many small line segments, then reorders the line segments according to the values of their slopes such that the overall slope of the new, proper ROC always decreases. A drawback of this approach is that it produces convoluted relationships among the original decision variable, the intuitively appealing conventional binormal parameters, and the binormal-LR parameters.
A second approach to proper ROC construction assumes that diagnostic data arise from 2 latent gamma distributions. This “bigamma model” 17 produces proper ROCs that rise rapidly from the left lower corner and taper slowly, that is, ROCs that, under the conventional binormal ROCs, would have B < 1. ROC curves constructed using Lehmann’s assumptions 24 have similar limitations. A third approach assumes “contamination”: The D+ population arises from multiple mixed distributions, one component of which is identical to the D− distribution. 25 This assumption is not always plausible, however, and it requires additional distributional constraints to produce ROCs with ever-decreasing positive slopes.
In this article, we present an approach to ROC curve fitting that implements the exponential features of Lehmann-family ROCs but allows a larger variety of curve shapes by weighting 2 mirror-image power functions. In the following sections, we describe the construction of a weighted power function (WPF) ROC curve and outline why it is a proper ROC with a positive, monotonically decreasing slope. We then describe and present results from a simulation study that compares outcomes from the WPF and the conventional binormal model of ROC curve fitting.
Constructing a Weighted Power Function ROC Curve
A WPF ROC is a set of points which, measured from the positive diagonal (the no-information line) in a ROC square, comprise a weighted average of 2 power functions. We now explain how one constructs a WPF ROC, an example of which is the solid black line in Figure 3.

Graphical depiction of the construction of a WPF ROC curve and its relationship to power functions and the no-information diagonal.
In Figure 3, the heavy dotted line has the formula
and the dashed line has the formula
where 0 ≤ x ≤ 1 and 0 < a ≤ 1. Notice that f1(x) and f2(x) are mirror-images or reflections about the negative diagonal (that is, the line y = 1 – x) of the ROC square. Line λ is the no-information diagonal (that is, the line y = x), and line θ is perpendicular to λ and therefore has a slope of −1. The WPF ROC curve is the thick solid line in Figure 3.
For notational clarity, we will designate the particular (fpr, tpr) pair at decision threshold t as (x3, y3). The location of threshold t = (x3, y3) is determined by point (x1, y1) on y = f1(x) and by point (x2, y2) on y = f2(x). Given a value (x1, y1), the equation describing line θ is y = x1 + x1 a – x. Therefore, (x2, y2) is at a point along f2(x) such that x2 is the root of the following equation:
Equation 3 does not have an analytic solution, but one can use successive approximations (e.g., by implementing either the secant method or Halley’s rational method) to find a root in the region of interest. (We have found that by using x1 as the initial “guess” for the solution to Equation 3, just 2 iterations of Halley’s method yield a value of x2 that is correct to at least 8 decimal places.) From this value, one then can compute y2 using Equation 2b.
Finally, the values of x3 and y3 are weighted averages of (x1, y1) and (x2, y2), that is
where 0 ≤ b ≤ 1, and y1 and y2 are calculated from Equations 2a and 2b. Note that if a, b, and x1 are fixed, then Equations 2a, 2b, 3, 4a, and 4b determine the values of y1, x2, y2, x3, and y3, respectively.
When b equals or is very close to 1, WPF ROC forms will be identical or very close to ROCs generated from the Lehmann family of power ROC curves. However, WPF ROCs have more flexibility than the Lehmann curves because b can take on values between 0 and 1, with values <0.5 creating ROCs that rise relatively slowly from the lower left corner and that flatten and lie close to the upper boundary of the ROC square at higher fpr values. Note, finally, that when b = 0.5, the ROC is symmetric about the negative diagonal of the ROC square.
It is easy to show that the first derivatives of f1(x) and f2(x) are always positive and that their second derivatives are always negative for 0 ≤ x ≤ 1. Because Equations 4a and 4b imply that points along the ROC curve are weighted averages of points in f1(x) and f2(x), it seems plausible that the WPF ROC always has a positive but ever-decreasing slope. In Appendix I (online), we show that this is the case.
One can implement the construction of a WPF ROC in several ways. We used an Excel spreadsheet and chart to create Figure 3, and we have developed Excel spreadsheets, WinBUGS code, and SAS code for finding the parameters of the conventional binormal and WPF models based on ordinal category ROC data. The spreadsheets use Excel’s “Solver” function to select model parameters (i.e., estimates of operating point locations and values of A and B or a and b) that either maximize the likelihood function (discussed further below) or (as an alternative) minimize the chi-square or likelihood chi-square 26 (procedures that yield results similar and sometimes preferable to MLE methods 27 ). WinBUGS is a free software program that allows users to implement Markov chain Monte Carlo methods to find Bayesian solutions to statistical problems. 28 In Appendix II (online), we provide the SAS code to help readers better understand the relationships among WPF parameters and how the x2 values are approximated via Halley’s method.
A useful feature of the WPF ROC derives from the fact that f1(x) and f2(x) in Figure 3 have closed-form integrals, and for the span 0 ≤ x ≤ 1, the areas under f1(x) and f2(x) equal
Likelihood Function
Having explained how one constructs a WPF ROC, we now describe its likelihood function, adopting and modifying a conceptualization scheme used by several previous authors, but following Metz and Pan 22 most closely.
We begin with ordinal, K-category data or with continuous data that have been grouped for purposes of mathematical analysis into K categories. We posit an underlying latent decision axis partitioned into K categories by K−1 thresholds tk (k = 1, 2, …, K−1), with a progressively less demanding positivity threshold as k increases or, if the outcome space is not a simple ordinal scale, we assume that one can chop up the outcome space so that a subject who is positive according to threshold criterion (k – 1) is also positive with threshold k. Thus, the directionality of the decision axis is oriented such that fprk > fprk−1. We denote the probability of getting an outcome (or response) in any category k as pk for an actually D− case and as qk for an actually D+ case and assume that the K-category data come from ND− independent, actually D− trials and ND+ independent, actually D+ trials. Then the ordinal categorized response data from an experiment will consist of the outcome vector
Producing Equation 5 has not required making any assumption about the functions that give rise to pk and qk or the relationship (if any) between these probabilities. As we have seen, both the binormal and WPF ROC models describe the relationship between pk and qk in terms of 2 ROC curve parameters (A and B in the binormal model, a and b in the WPF model). This means that given a particular set of categorical outcome data, the K−1 thresholds plus the 2 curve parameters, or a total of K+1 parameters, determine the value of L. Coming up with MLE estimates of the K+1 parameters involves finding the values of those parameters that maximize L.
The natural logarithm of L, ln L,
is a monotonic function of L but yields values that are easier to work with than L itself. Notice that the first, fourth, and fifth terms on the right side of Equation 6 do not depend on model parameters. We can delete these terms to create LL, the “log-likelihood function,”
Because LL varies monotonically with L, those values of the K+1 parameters that maximize LL will also maximize L.
As we have described the binormal model, the decision axis is measured in standard deviations of the D− population, so that the thresholds tk are in z-transformed units of fpr. The probability pk that an outcome from an actually D− case will fall in category k is
and the probability qk that an outcome from an actually D+ case will fall in category k is
where z(t0) ≡ −∞ and z(tK) ≡ +∞ (so that fpr0 = tpr0 = 0 and fprK = tprK = 1). By substituting Equations 8a and 8b into Equation 7, we obtain LL in the binormal model for the data represented earlier as vectors
We take advantage of this last point as we consider maximizing LL under the WPF model. Recall from our earlier discussion that (fpr, tpr) pairs under the WPF model correspond to values of x3 and y3 calculated in Equations 4a and 4b. We now introduce the “k” subscript so that we can speak of multiple thresholds tk represented by (x3,k, y3,k) pairs. In the WPF model, these thresholds simply refer to points along the two axes of the ROC square, so that
Although we cannot write an expression analogous to Equation 9a for the values of qk, we know from Equations 2a through 4b above how to establish values for qk in Equation 9b from a, b, and x1,1, x1,2, …, x1,k. Therefore, we can treat a, b, x1,1, x1,2, …, x1,k as the K+1 parameters for which we seek MLE estimates using numerical optimization methods to maximize LL in Equation 7.
Some Examples
We next illustrate how the WPF ROC solves problems associated with data sets that generate improper binormal ROCs. In Figures 4a and 4b, we compare WPF and binormal ROCs derived from hypothetical 5-category data obtained from 20 randomly selected D+ and 20 randomly selected D− subjects. In the hypothetical data represented in Figure 4a, the 40 subjects come from a diagnostic context in which the actual (“true”) thresholds lie at fpr = 0.01, 0.02, 0.05, and 0.5, and the D+ and D− populations give rise to data that, when transformed, are normally distributed such that A = 1.5 and B = 0.8. Notice that these parameters do not, by themselves, imply an rd-hooked ROC because r =

Comparisons of ROC curves derived from small, hypothetical data samples fitted with the binormal assumption (dashed lines) and with the WPF model (dotted lines). Solid lines represent the actual (“true”) binormal distributions from which the hypothetical data were sampled. (a) True binormal parameters are A = 1.5 and B = 0.8. (b) True binormal parameters are A = 1.875 and B = 1.25.
Next, consider hypothetical 5-category data obtained from 20 D+ and 20 D− randomly selected subjects who come from a diagnostic context in which the actual operating points lie at fpr = 0.02, 0.06, 0.10, and 0.5 and the distributions of the full D+ and D− populations are described by the binormal parameters A = 1.875 and B = 1.25 (i.e., the true ROC is a mirror image about the negative diagonal of the true ROC curve shown in Figure 4a). Several varieties of 20-member random samples from the D− population would have a good chance of resulting in an rd-hooked ROC; among these are samples in which 1 D− subject fell in the first rating category, fewer than 2 subjects fell in the second, and no subject fell in the third—a situation that we expect to arise approximately 26% of the time. Figure 4b depicts one such result. The binormal ROC curve calculated from these data has an rd-hook in the lower left corner, and it gives a misleading indication of diagnostic performance throughout the ROC square except where 0.07 ≤ fpr ≤ 0.11. The WPF ROC is biased upward for fpr values between 0.1 and 0.5, but it generally gives results closer to the true ROC.
For a final example, we return to Carroll and colleagues’ DST data. Here, we do not know what the “true” values are—we have only the empirical data from the sample and our knowledge of the clinical context as the bases for judgments about the relative merit of binormal and WPF models. If one quickly compared the dashed and dotted lines in Figure 2 and noted only that the vertical distances from the initial data points to the binormal ROC were less than the vertical distances to the WPF ROC, one might conclude that the binormal ROC followed the original data more closely than the WPF ROC and gave a better depiction of the DST’s performance, especially where fpr > 0.2.
More detailed investigation shows that this is not so, however. One role of ROC analysis is to estimate locations of the actual or true operating points, which have multinomial distributions such that initial empirical data can contain errors in the horizontal as well as vertical direction. In Figure 2, we plotted the locations of the operating points as estimated by the ROCKIT software as diamonds, and we used squares to show the locations of operating points obtained using WinBUGS code that implements the WPF model. We then used straight lines to connect each model’s operating point estimates to 5 of the initial data points (the circles in Figure 2) as calculated from the crude categorical data. In all cases, the operating points estimated using the binormal software lie farther from the initial data points than do the operating points estimated from the WPF model. The average distance, δmean, between empirical and model operating points for the k = 12 thresholds, calculated from the individual Euclidean distances in ROC space as
is 0.047 for the WPF ROC but 0.101 for the binormal ROC. This finding accords with the LL values calculated using Equation 7: −870.1 for the binormal ROC model and −852 for the WPF model, implying a better fit for the latter. Furthermore, the WPF ROC presents a more plausible view of the DST’s diagnostic accuracy by incorporating the assumption that at any postdexamethasone cortisol level, the proportion of depressed patients above that level will be higher than the proportion of nondepressed patients.
Evaluation via Simulation Study
We tested the WPF ROC using methods modeled on the Monte Carlo computer studies conducted by Pan and Metz 15 and Dorfman and colleagues. 17 In summary, the approach taken in these studies was as follows:
a. Set the parameters of the “true” D+ and D− distributions.
b. Draw sets of data samples from those distributions.
c. Estimate parameters for each sample’s data using the binormal curve fitting assumptions.
d. Estimate parameters for the same sample data with the WPF curve fitting routine.
e. Compare (c) and (d) to see which results came closer to the “true” parameters.
In the first set of Monte Carlo studies, we posited 3 conventional binormal population models with ROC parameters B = 0.8 and A = 0.6, 1.5, and 2.1; we selected these values because they would produce ROCs with shapes typical of actual diagnostic data from tests with modest, moderate, and high accuracy (AUCs = 0.68, 0.88, and 0.95, respectively). We generated 1000 sets of simulated 5-category rating data for 20 actually D− subjects and 20 actually D+ subjects, under the assumption that the actual decision thresholds tk (k = 1, 2, 3, 4) were located at fpr = 0.01, 0.02, 0.05, and 0.50. These fpr values are not as extreme as the fpr values (viz., fpr = 0.000250, 0.000328, 0.03040, 0.281140) used by Pan and Metz and by Dorfman and colleagues, and our data may therefore have yielded more generalizable results. Still, however, our thresholds were chosen such that given the size of the D− and D+ groups, a substantial fraction of simulations were likely to contain “degenerate” data sets (i.e., data sets with no false positives in the first 3 rating categories).
In the second set of studies, we posited that data arose from 3 WPF ROC population models with b = 0.75 and a = 1/2, 3/17, and 1/19—values that imply ROC shapes similar to those from the just-mentioned binormal ROCs and for which the true AUCs are 0.667, 0.85, and 0.95. Again, we generated 1000 sets of simulated 5-category rating data assuming that 4 true operating points were located at fpr = 0.01, 0.02, 0.05, and 0.50, each data set consisting of diagnostic ratings for 20 actually D− subjects and 20 actually D+ subjects.
We generated and analyzed simulated data sets using SAS 9.1. We obtained estimates of the 6 ROC model parameters—the 2 binormal and WPF accuracy indices (either A and B, or a and b), and the 4 operating points—using the nonlinear programming procedure (“proc nlp”) to maximize the log-likelihood function (LL). Our code ran 2 optimization algorithms—the Newton-Raphson method with ridging (“nrridg”) and the double dogleg method (“dbldog”)—and then selected and retained the results that yielded the largest value of LL.
AUC often serves as a summary index for evaluating and comparing test quality, but as Figure 3 illustrates, WPF and binormal ROC curves with similar areas beneath them may cross each other and can have very different tpr values through large fpr ranges. Although we computed total AUC values, our main comparisons between WPF and binormal models used 1) the calculated tpr values at fpr = 0.01, 0.02, 0.05, 0.25, and 0.50, which allowed us to evaluate accuracy at a representative set of thresholds that are likely to be of diagnostic significance, and 2) following Pan and Metz, 15 partial AUC values for the fpr ranges 0.0–0.25, 0.25–0.5, 0.5–0.75, and 0.75–1.0.
We compared results obtained from the binormal and WPF models using empirical mean values and the root mean square error (RMSE) from the tpr values and areas derived from computer-simulated data. RMSE, a frequently used metric for evaluating estimators, incorporates the variance and bias of an estimator
where
Results
Table 1 shows the means, medians, and RMSEs for tpr values where fpr = 0.01, 0.02, 0.05, 0.25, and 0.50 from the six 1000-instance binormal and WPF ROC simulations. The “Features” column describes the assumed “true” ROC parameters and the number of rd-hooked ROCs (i.e., those for which |r| < 2) obtained under the binormal model.
Results of Simulation Studies: True Positive Rates When the False Positive Rate Equals 0.01, 0.02, 0.05, 0.25, or 0.50
Note: RMSE = root mean square error; ROC = receiver operating characteristic; WPF = weighted power function.
Looking at results from the 6 studies, one sees that for fpr values 0.01, 0.02, and 0.05, the tpr values obtained using the WPF ROC method usually fall closer to the true values, display less upward bias, and have smaller RMSEs than do values obtained under the binormal assumption. In the studies where A = 0.6, B = 0.8 and a = 1/2, b = 0.75, the tpr values obtained under the binormal assumption where fpr = 0.25 or 0.50 look better than do those obtained using the WPF model. However, careful inspection of the data suggests that these better estimates were purchased at the price of incurring rd-hooked binormal ROCs in more than two-thirds of the simulations. That is, the binormal ROCs have a pronounced upward bias at low fpr values, flatten out in the middle of the fpr range, and dip underneath the no-information diagonal at higher values of fpr.
Table 2 is structured similarly to Table 1, but it describes what our 6 simulation studies told us about the means, medians, and RMSEs for partial ROC areas where fpr = 0.0–0.25, 0.25–0.5, 0.5–0.75, and 0.75–1.0. In all 6 studies, partial areas where 0 ≤ fpr ≤ 0.5 calculated from the WPF ROC parameters fell closer to the true values, displayed less upward bias, and had smaller RMSEs than did values obtained under the binormal assumption. Given the previously described findings for tpr values where A = 0.6, B = 0.8 and a = 1/2, b = 0.75, it is not surprising that the partial areas where 0.5 ≤ fpr ≤ 1 obtained from the binormal ROC parameters look slightly better than the results obtained with the WPF model.
Results of Simulation Studies: Comparisons of Partial Areas under the ROC Curve for 4 False-Positive Ranges (0.0–0.25, 0.25–0.5, 0.5–0.75, 0.75–1.0) and Total ROC Area
Note: RMSE = root mean square error; ROC = receiver operating characteristic; WPF = weighted power function.
Because total AUC is often used as a summary index of diagnostic performance (despite the limitations noted earlier), we present AUC values under the 2 methods. A general conclusion from Table 2 is that the total AUCs of binormal ROCs have a downward bias and the AUCs for the WPF ROCs are biased upward. This result implies that for binormal ROCs, large upward biases in the low fpr regions are more than cancelled out by large downward biases in high fpr regions, especially for data from low-accuracy diagnostic tests. Particularly in Simulation 6, the downward bias of binormal ROCs in high-fpr regions leads to a smaller bias in total AUC compared with results obtained under the WPF ROC model.
Figure 5 portrays the tpr results from the 6 simulation studies as box-and-whisker plots of the 2.5th percentile, lower quartile, median, upper quartile, and 97.5th percentile tpr values at the 5 previously described fpr values. The figure provides readily apprehended descriptions of and insights into data that are incompletely summarized in Table 1. In all 6 plots, the 5 fpr values are the bottom labels, the WPF results appear on the left, the binormal results appear on the right, and the mean tpr results for each fpr value are marked with a solid diamond; the results are graphed as deviations (“errors,” with units marked along the vertical axis) from the true tpr values. The key point from these figures is that in most cases, the WPF method gives results that are less dispersed and that come closer to the true values of tpr.

Box-and-whisker summaries for 6 simulated studies (a through f), depicting errors in tpr with the WPF method (left) and binormal assumption (right), at fpr values 0.01, 0.02, 0.05, 0.25, and 0.50. (a) True distribution: binormal, A = 1.5, B = 0.8. (b) True distribution: binormal, A = 2.1, B = 0.8. (c) True distribution: binormal, A = 0.6, B = 0.8. (d) True distribution: WPF, a = 3/17, b = 0.75. (e) True distribution: WPF, a = 1/19, b = 0.75. (f) True distribution: WPF, a = 1/2, b = 0.75.
Discussion
This article has described the weighted power function model for constructing proper ROC curves from ordered category data and has compared results using this model with those obtained from applying the (justifiably) popular “binormal” assumptions of ROC curve fitting. Previous authors have mentioned single-parameter power function ROCs (of the variety tpr = fpra) as candidates for ROC forms.7,24,31 Like power function ROCs, the WPF ROC has a positive but ever-decreasing slope in the ROC square. However, the 2-parameter WPF model described here is more flexible than a single-parameter power function and can fit a wider variety of actual data sets—in particular, data sets where tpr values in the lower left portion of the ROC square lie close to the no-information diagonal (that is, data sets for which the binormal ROC parameter B would be greater than 1). In contrast to investigators who have focused on radiologic data, psychiatrists not infrequently encounter data for which B > 1 (see, for example, references 5 and 32). Therefore, the capacity of the WPF ROC to accommodate such data seems an important criterion for judging its usefulness as a curve-fitting model.
We evaluated the WPF model using methods similar to those employed by previous authors: simulation studies that were structured to produce a large number of the degenerate data sets that pose problems for the binormal model. We found that the WPF model generally provided solutions that were better—that is, less biased and closer to the true values—than the results obtained using the binormal model, even when binormal distributions were the source of the simulated data. A big contributor to the better performance of the WPF model was that WPF ROCs have monotonically decreasing slopes and cannot have hooks, whereas binormal ROCs often compensate (so to speak) for their hooks with too-high tpr values in the range of ROC space where fpr < 0.10. Thus, the WPF model performs better because of its design constraint as a necessarily proper ROC.
Our study did not compare results from the WPF and other proposed proper ROC models, and we therefore have not provided any direct statistical evidence that our approach is superior. But because the WPF model produces proper results, it seems to be a valid option for data analyses where fitting a curve to data is important but the binormal model would yield ROCs with unacceptable hooks. The choice of a proper ROC model will depend on situation-specific factors and statisticians’ preferences. One can implement the WPF model with an Excel spreadsheet, WinBUGS, or SAS (see sample code in Appendix II), and the construction of WPF ROCs is easy to conceptualize and to depict graphically. The WPF model also establishes straightforward, easily depicted relationships among the results that comprise the decision variable for the detection method, individual operating points reflected in the data, the contours of the resulting ROC curve, and model parameters a and b.
The WPF model overcomes the susceptibility to rd-hooks that can arise from the conventional binormal ROC model, is more flexible than the Lehmann curve and bigamma ROC models, and seems simpler than the binormal-LR model. The WPF ROC curve-fitting code we have developed offers investigators and researchers convenient tools for analyzing data from a wide variety of medical diagnostic technologies and methods.
Footnotes
This publication was supported by an Institutional Clinical and Translational Science Award, NIH/NCATS Grant No. 8UL1TR000077-04. Its contents are solely the responsibility of the authors and do not necessarily represent the official views of the NIH.
References
Supplementary Material
Please find the following supplemental material available below.
For Open Access articles published under a Creative Commons License, all supplemental material carries the same license as the article it is associated with.
For non-Open Access articles published, all supplemental material carries a non-exclusive license, and permission requests for re-use of supplemental material or any part of supplemental material shall be sent directly to the copyright owner as specified in the copyright notice associated with the article.
