López Ratón, MónicaRodríguez Álvarez, María XoséCadarso Suárez, Carmen MaríaGude Sampedro, Francisco2020-05-052020-05-052014López-Ratón, M., Rodríguez-Álvarez, M. X., Cadarso-Suárez, C., and Gude-Sampedro, F. (2014). OptimalCutpoints: an R package for selecting optimal cutpoints in diagnostic tests. J Stat Softw, 61(8), 1-36.1548-7660http://hdl.handle.net/10347/22021Continuous diagnostic tests are often used for discriminating between healthy and diseased populations. For the clinical application of such tests, it is useful to select a cutpoint or discrimination value c that defines positive and negative test results. In general, individuals with a diagnostic test value of c or higher are classified as diseased. Several search strategies have been proposed for choosing optimal cutpoints in diagnostic tests, depending on the underlying reason for this choice. This paper introduces an R package, known as OptimalCutpoints, for selecting optimal cutpoints in diagnostic tests. It incorporates criteria that take the costs of the different diagnostic decisions into account, as well as the prevalence of the target disease and several methods based on measures of diagnostic test accuracy. Moreover, it enables optimal levels to be calculated according to levels of given (categorical) covariates. While the numerical output includes the optimal cutpoint values and associated accuracy measures with their confidence intervals, the graphical output includes the receiver operating characteristic (ROC) and predictive ROC curves. An illustration of the use of OptimalCutpoints is provided, using a real biomedical dataset.eng© Author(s) 2014. This work is licensed under a Creative Commons Attribution 3.0 Unported Licensehttps://creativecommons.org/licenses/by/3.0/Optimal cutpointDiagnostic testsAccuracy measuresROC curveROptimalCutpoints: An R Package for Selecting Optimal Cutpoints in Diagnostic Testsjournal article10.18637/jss.v061.i08open access