Heckroc: ROC Curves for Selected Samples


Paper Authors: Jonathan Cook and Ashish Rajbhandari
Publication: Published in The Stata Journal, 2018, 18(1): 174-183

Abstract: ROC curves can be misleading when they are constructed with selected samples. In this article, we describe heckroc, a Stata command that implements a recently developed procedure for plotting ROC curves with selected samples. The command is available on the Boston College Statistical Software Components (SSC) and can be installed by typing SSC install heckroc in Stata. heckroc 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.

Download the Paper

Disclaimer

The economic research fellows and staff economists generate high-quality working papers that inform the oversight activities of the PCAOB and are disseminated to stimulate discussion and critical comment to the benefit of the public. Working papers are preliminary materials that have not been approved by the Board and reflect only the views of the author(s).

The research topics of economic research fellows, including a description of any nonpublic data sets required for research, are presented to the Board for approval and research papers are reviewed to confirm that the topic of the paper is consistent with the researcher's proposal. That review does not, however, encompass an evaluation of the conclusions reached by researchers.