正在学习
18.2.4 Receiver Operator Characteristic (ROC) curve
18.2.4 Receiver Operator Characteristic (ROC) curve
The Receiver Operator Characteristic (ROC) curve provides a popular way to evaluate binary forecasts. The unusual name arises from the method’s origination in the analysis of radio signals. The method has since become a common tool in medical diagnosis and weather forecasting. Consider a density forecast method that yields , and recall that for any cutoff, c(z), the forecast is generated as as shown in chapter 12. For any density forecast we can therefore compute the following table of outcomes.
| Y=1 | Y=-1 | |
| Forecast f=1 | TP | FP |
| Forecast f=-1 | FN | TN |
Here TP is the number of true positives, i.e., the number of forecasts of for which the method correctly predicts the outcome; TN is the number of true negatives, correct forecasts of . FN and FP are the number of false negatives and false positives, respectively. Since the forecast depends on , numbers in this table are a function of ·
Using this table we can construct estimates of different features of the forecasting method. First, consider the ratio of true positives to the actual number of times the outcome is indeed positive, . This is known as the true positive rate (or sensitivity) and is a sample estimate of the population object . We can also consider the false positive rate (often defined as 1 minus the sensitivity) which is a sample estimate of the population object Naturally, we would like the true positive rate to be 1 and the false positive rate to be 0. Without a perfect classifier or forecasting method, increasing the cutoff, results in fewer positive forecasts and more negative forecasts. Suppose we set the cutoff , so that all forecasts are equal to 1. Then both the true positive rate and the false positive rate are equal to 1, since . At the other extreme, suppose we set so all forecasts are equal to −1. Then both the true positive rate and the false negative rate are 0, since . Between these extreme choices for there is a positive relation between these two measures: increasing reduces the number of positive forecasts, reducing both the true positive and false positive rates. Tracing the curve that relates the two measures as a function of , where moves to the right decrease , produces the ROC curve. The closer this curve is to being a step function that immediately shifts to 1 as moves away from 1, the better. A common measure reported for the ROC curve is the area underneath the curve.
As derived, the estimated ROC curve is a step function. However, both parametric and nonparametric methods have been considered in the statistical literature for generating smooth ROC curves and estimates of the area under the curve. Higher ROC curves are generally taken to be better estimators of the forecast distribution because they classify outcomes more correctly across different cutoffs, . The curves can be viewed as sequences of (correlated) averages over the data, and hence should be accompanied by standard errors. Further, since the forecasts are themselves a function of estimated parameters, estimation error should be taken into account. In practice, bootstrap methods are popular for inference.
Empirically, the ROC curve has been used by Jordà and Taylor (2012) to examine carry trades set up to exploit interest rate differentials between pairs of currencies.
练习题
What is the origin of the term 'Receiver Operator Characteristic (ROC) curve'?
For a density forecast method that yields , how is the forecast generated for a given cutoff ?
Which of the following are correct interpretations of the values in the outcome table for a density forecast? (Select all that apply)
The true positive rate (sensitivity) is calculated as and is a sample estimate of the population object .
The false positive rate is calculated as and is a sample estimate of the population object .
Increasing the cutoff results in fewer positive forecasts and more negative forecasts. If , both the true positive rate and the false positive rate are equal to ___.
The ROC curve is constructed by tracing the curve that relates the true positive rate and the false positive rate as a function of . The closer this curve is to being a step function that immediately shifts to 1 as moves away from ___, the better.
Explain why higher ROC curves are generally considered better estimators of the forecast distribution.
Why should standard errors accompany ROC curves, and what role does estimation error play in this context?
Which of the following statements about the ROC curve are correct? (Select all that apply)
How does the ROC curve relate to calibration in binary outcome predictions?
What is the relationship between the true positive rate, false positive rate, and the cutoff in constructing the ROC curve?
Which of the following statements correctly describes the relationship between the true positive rate (TPR) and the false positive rate (FPR) when adjusting the cutoff in a density forecast?
Which of the following are true about the ROC curve and its properties?
The true positive rate (TPR) is a sample estimate of the population object , and the false positive rate (FPR) is a sample estimate of the population object .
登录后解锁笔记、知识点解析、AI 问答
立即登录