The receiver operating characteristic (ROC) curve is the most popular tool used to evaluate the discriminatory capability of diagnostic tests/biomarkers measured on a continuous scale when distinguishing between two alternative disease states (e.g, diseased and nondiseased). In some circumstances, the test's performance and its discriminatory ability may vary according to subject-specific characteristics or different test settings. In such cases, information-specific accuracy measures, such as the covariate-specific and the covariate-adjusted ROC curve are needed, as ignoring covariate information may lead to biased or erroneous results. This paper introduces the R package ROCnReg that allows estimating the pooled (unadjusted) ROC curve, the covariate-specific ROC curve, and the covariate-adjusted ROC curve by different methods, both from (semi) parametric and nonparametric perspectives and within Bayesian and frequentist paradigms. From the estimated ROC curve (pooled, covariate-specific or covariate-adjusted), several summary measures of accuracy, such as the (partial) area under the ROC curve and the Youden index, can be obtained. The package also provides functions to obtain ROC-based optimal threshold values using several criteria, namely, the Youden Index criterion and the criterion that sets a target value for the false positive fraction. For the Bayesian methods, we provide tools for assessing model fit via posterior predictive checks, while model choice can be carried out via several information criteria. Numerical and graphical outputs are provided for all methods. The package is illustrated through the analyses of data from an endocrine study where the aim is to assess the capability of the body mass index to detect the presence or absence of cardiovascular disease risk factors. The package is available from CRAN at https://CRAN.R-project.org/package=ROCnReg.
翻译:接收器操作特性( ROC) 曲线是用来评价诊断性测试/生物标志在区分两种替代疾病状态( 如疾病和非疾病)时, 持续测量的诊断性测试/生物标志的歧视性能力的最常用工具。 在某些情况下, 测试的性能及其歧视性能力可能因特定主题特征或不同的测试设置而不同。 在这种情况下, 需要具体信息精确度的测量, 如共变特定和经共变调整的 ROC 曲线, 因为忽略共变信息可能导致偏差或错误的结果。 本文介绍了 R 包 RC, 用于估算集合( 未调整的) ROC 曲线、 共变特定 ROC 曲线和 异变异的 ROC 曲线, 以及 COC 曲线调整的曲线。 在( 缩略) 参数和无偏差的 ROC 矩阵中, 也可以通过( ) IML 模型和 ROC 的 标准, 提供数据序列 的函数, 用于通过 IMB 的 标准 数据 提供 。