Receiver operating characteristic (ROC) curves can be misleading when they are constructed with selected samples. In this article, we describe heckroccurve, which implements a recently developed procedure for plotting ROC curves with selected samples. The command estimates the area under the ROC curve and a graphical display of the curve. A variety of plot options are available, including the ability to add confidence bands to the plot.
FawcettT.2006. An introduction to ROC analysis. Pattern Recognition Letters27: 861–874.
3.
HandD. J., and AdamsN. M.2014. Selection bias in credit scorecard evaluation. Journal of the Operational Research Society65: 408–415.
4.
HeckmanJ. J.1976. The common structure of statistical models of truncation, sample selection and limited dependent variables and a simple estimator for such models. Annals of Economic and Social Measurement5: 475–492.
5.
KraftH., KroisandtG., and MüllerM.2014. Redesigning ratings: Assessing the discriminatory power of credit scores under censoring. Journal of Credit Risk10: 71–94.
6.
MrozT. A.1987. The sensitivity of an empirical model of married women's hours of work to economic and statistical assumptions. Econometrica55: 765–799.
7.
Van de VenW. P. M. M., and Van PraagB. M. S.1981. The demand for deductibles in private health insurance: A probit model with sample selection. Journal of Econometrics17: 229–252.