[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-510832-105":59,"doc-detail-510832-en":131},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","rocnreg-an-r-package-for-receiver-operating-characteristic-curve-inference-with-and-without-covariates","ROCnReg - An R Package for Receiver Operating Characteristic Curve Inference With and Without Covariates","","This paper introduces the ROCnReg R package for estimating pooled ROC curves, covariate-specific ROC curves, and covariate-adjusted ROC curves. It supports multiple estimation strategies spanning (semi)parametric and nonparametric viewpoints, covering both Bayesian and frequentist paradigms. From the estimated ROC curves, discriminatory accuracy summary measures such as (partial) AUC and the Youden index are computed. The package also derives ROC-based optimal thresholds via criteria including the Youden index and a target false positive fraction, with Bayesian posterior predictive checks and information-criterion-based model choice.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/rocnreg-an-r-package-for-receiver-operating-characteristic-curve-inference-with-and-without-covariates/510832/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/rocnreg-an-r-package-for-receiver-operating-characteristic-curve-inference-with-and-without-covariates/510832.png","ImageObject",300,407,{"name":92,"@type":93},"Chumphorn","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-10","2026-10-06",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",11,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What ROC quantities does ROCnReg estimate?","Question",{"text":113,"@type":114},"ROCnReg estimates the pooled ROC curve, the covariate-specific ROC curve, and the covariate-adjusted ROC curve using different estimation methods.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How does ROCnReg handle covariate information?",{"text":118,"@type":114},"It supports two covariate-aware ROC concepts: covariate-specific (conditional on a covariate value) and covariate-adjusted (a weighted average of covariate-specific curves).",{"name":120,"@type":111,"acceptedAnswer":121},"What Bayesian features does ROCnReg provide?",{"text":122,"@type":114},"Bayesian workflows include tools for posterior predictive checks to assess model fit and model selection via information criteria.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},510832,1791530343,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":19,"preview_urls":147},2336475401981,"https://ap-avatar.wpscdn.com/avatar/22000c94efd8d5204d?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786935347598174694","ROCnReg: An R Package for Receiver Operating Characteristic Curve Inference With and Without Covariates  \nby María Xosé Rodríguez-Álvarez and Vanda Inácio  \nAbstract This paper introduces the package ROCnReg that allows estimating the pooled 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 discriminatory 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 the model choice can be carried out via several information criteria. Numerical and graphical outputs are provided for all methods. This is the only package implementing Bayesian procedures for ROC curves.  \n1 Introduction  \nThe receiver operating characteristic (ROC) curve (Metz, 1978) is, unarguably, the most popular tool used for evaluating the discriminatory ability of continuous-outcome diagnostic tests. The ROC curve displays the false positive fraction (FPF) against the true positive fraction (TPF) for all possible threshold values that can be used to dichotomize the test result. The ROC curve thus provides a global description of the trade-off between the FPF and the TPF of the test as the threshold changes. Plenty of parametric and semi/nonparametric methods are available for estimating the ROC curve, either from frequentist or Bayesian viewpoints, and we refer the interested reader to Pepe (1998, Chapter 5), Zhou et al. (2011, Chapter 4), Inácio et al. (2020), and references therein.  \nIt is known that in many situations, the outcome of a test and, possibly, its discriminatory capacity can be affected by covariates. Two different ROC-based measures that incorporate covariate information have been proposed: the covariate-specific or conditional ROC curve (see, e.g., Pepe, 2003, Chapter 6) and the covariate-adjusted ROC curve (Janes and Pepe, 2009) . The formal definition of both curves is given in Section Notation and definitions. Succinctly, a covariate-specific ROC curve is an ROC curve that conditions on a specific covariate value, thus describing the accuracy of the test in the ‘subpopulation’ defined by that covariate value. On the other hand, the covariate-adjusted ROC curve is a weighted average of covariate-specific ROC curves. Regarding estimation, since the seminal paper of Pepe (1998), a plethora of methods have been proposed in the literature for the estimation of the covariate-specific ROC curve and associated summary measures. Without being exhaustive, we mention the work of Faraggi (2003), Rodríguez-Álvarez et al. (2011a,b), Inácio de Carvalho et al.(2013), and Inácio de Carvalho et al. (2017) . A detailed review can be found in Rodríguez-Álvarez et al.(2011c), Pardo-Fernández et al. (2014), and Inácio et al. (2020) . With respect to the covariate-adjusted ROC curve, estimation has been discussed in Janes and Pepe (2009), Rodríguez-Álvarez et al. (2011a), Guan et al. (2012), and Inácio de Carvalho and Rodríguez-Álvarez (2018) .  \nA few R packages for ROC curve analysis are available on the Comprehensive R Archive Network and, as far as we are aware, all of them implementing frequentist approaches. The package sROC (Wang, 2012) contains functions to perform nonparametric, kernel-based, estimation of ROC curves. pROC (Robin et al., 2011) offers a set of tools to visualize, smooth, and compare ROC curves, and nsROC (Pérez Fernández et al., 2018) also allows estimating ROC curves, building confidence bands as well as comparing seve","cbCaij56HbwTnYqW","https://ap.wps.com/l/cbCaij56HbwTnYqW","pdf",6323662,31,"English","# Introduction\n## ROC curves and covariate effects\n## Existing R packages and the gap in Bayesian ROC tools","[{\"question\":\"What ROC quantities does ROCnReg estimate?\",\"answer\":\"ROCnReg estimates the pooled ROC curve, the covariate-specific ROC curve, and the covariate-adjusted ROC curve using different estimation methods.\"},{\"question\":\"How does ROCnReg handle covariate information?\",\"answer\":\"It supports two covariate-aware ROC concepts: covariate-specific (conditional on a covariate value) and covariate-adjusted (a weighted average of covariate-specific curves).\"},{\"question\":\"What Bayesian features does ROCnReg provide?\",\"answer\":\"Bayesian workflows include tools for posterior predictive checks to assess model fit and model selection via information criteria.\"}]","ROCnReg - An R Package for Receiver Operating Characteristic Curve Inference With and Without Covariates | PDF",1791245460,78,[148,152,156,160],{"page_no":8,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/c414301a97a4cb57a6aa907025886115.webp",983,1390,{"page_no":14,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ede967395e0fef2e836762fe87935aa1.webp",982,1388,{"page_no":81,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/5d023d4d562ed5eb6b18e38f1d2cc5cc.webp",981,1387,{"page_no":19,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/7ae93b481b7c3c6ebc2ee571f9fb1098.webp",980,1385]