IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v061i08.html
   My bibliography  Save this article

OptimalCutpoints: An R Package for Selecting Optimal Cutpoints in Diagnostic Tests

Author

Listed:
  • López-Ratón, Mónica
  • Rodríguez-Álvarez, María Xosé
  • Cadarso-Suárez, Carmen
  • Gude-Sampedro, Francisco

Abstract

Continuous 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.

Suggested Citation

  • López-Ratón, Mónica & Rodríguez-Álvarez, María Xosé & Cadarso-Suárez, Carmen & Gude-Sampedro, Francisco, 2014. "OptimalCutpoints: An R Package for Selecting Optimal Cutpoints in Diagnostic Tests," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 61(i08).
  • Handle: RePEc:jss:jstsof:v:061:i08
    DOI: http://hdl.handle.net/10.18637/jss.v061.i08
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v061i08/v61i08.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v061i08/OptimalCutpoints_1.1-3.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v061i08/v61i08.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v061.i08?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Lausen, Berthold & Schumacher, Martin, 1996. "Evaluating the effect of optimized cutoff values in the assessment of prognostic factors," Computational Statistics & Data Analysis, Elsevier, vol. 21(3), pages 307-326, March.
    2. Edward J. Boyko, 1994. "Ruling Out or Ruling In Disease with the Most sensitiue or Specific Diagnostic Test," Medical Decision Making, , vol. 14(2), pages 175-179, April.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Antonio M. Salcedo & Gregorio Izquierdo Llanes, 2019. "Drawing the optimal monetary poverty lines based on empirical data: an application to Spain," Quality & Quantity: International Journal of Methodology, Springer, vol. 53(1), pages 513-527, January.
    2. Kinga Polanska & Anna Krol & Pawel Kaluzny & Danuta Ligocka & Karolina Mikolajewska & Seif Shaheen & Robert Walton & Wojciech Hanke, 2016. "Estimation of Saliva Cotinine Cut-Off Points for Active and Passive Smoking during Pregnancy—Polish Mother and Child Cohort (REPRO_PL)," IJERPH, MDPI, vol. 13(12), pages 1-15, December.
    3. Yonatan Carl & Andy Vega & Gina Cardona-Acevedo & Marina Stukova & Melissa Matos-Rivera & Anamaris Torres-Sanchez & Melissa Milián-Rodríguez & Brian Torres-Mercado & Grisel Burgos & Raymond L. Trembla, 2022. "Post-Hurricane Distress Scale (PHDS): Determination of General and Disorder-Specific Cutoff Scores," IJERPH, MDPI, vol. 19(9), pages 1-12, April.
    4. Slobodan Milanović & Zoran Trailović & Sladjan D. Milanović & Eduard Hochbichler & Thomas Kirisits & Markus Immitzer & Petr Čermák & Radek Pokorný & Libor Jankovský & Abolfazl Jaafari, 2023. "Country-Level Modeling of Forest Fires in Austria and the Czech Republic: Insights from Open-Source Data," Sustainability, MDPI, vol. 15(6), pages 1-20, March.
    5. Antonio M. Salcedo & Gregorio Izquierdo Llanes, 2020. "Refining the Monetary Poverty Indicators Under a Join Income-Consumption Statistical Approach: An Application to Spain Based on Empirical Data," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 147(2), pages 501-516, January.
    6. Oke Gerke & Antonia Zapf, 2022. "Convergence Behavior of Optimal Cut-Off Points Derived from Receiver Operating Characteristics Curve Analysis: A Simulation Study," Mathematics, MDPI, vol. 10(22), pages 1-14, November.
    7. Dean Fantazzini & Yufeng Xiao, 2023. "Detecting Pump-and-Dumps with Crypto-Assets: Dealing with Imbalanced Datasets and Insiders’ Anticipated Purchases," Econometrics, MDPI, vol. 11(3), pages 1-73, August.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Heinzl, Harald & Tempfer, Clemens, 2001. "A cautionary note on segmenting a cyclical covariate by minimum P-value search," Computational Statistics & Data Analysis, Elsevier, vol. 35(4), pages 451-461, February.
    2. Qiu, Zhiping & Peng, Limin & Manatunga, Amita & Guo, Ying, 2019. "A smooth nonparametric approach to determining cut-points of a continuous scale," Computational Statistics & Data Analysis, Elsevier, vol. 134(C), pages 186-210.
    3. Sauerbrei, W. & Meier-Hirmer, C. & Benner, A. & Royston, P., 2006. "Multivariable regression model building by using fractional polynomials: Description of SAS, STATA and R programs," Computational Statistics & Data Analysis, Elsevier, vol. 50(12), pages 3464-3485, August.
    4. Orianna DeMasi & Konrad Kording & Benjamin Recht, 2017. "Meaningless comparisons lead to false optimism in medical machine learning," PLOS ONE, Public Library of Science, vol. 12(9), pages 1-15, September.
    5. Taylor, Jeremy M. G. & Yu, Menggang, 2002. "Bias and Efficiency Loss Due to Categorizing an Explanatory Variable," Journal of Multivariate Analysis, Elsevier, vol. 83(1), pages 248-263, October.
    6. Contal, Cecile & O'Quigley, John, 1999. "An application of changepoint methods in studying the effect of age on survival in breast cancer," Computational Statistics & Data Analysis, Elsevier, vol. 30(3), pages 253-270, May.
    7. Torsten Hothorn & Achim Zeileis, 2008. "Generalized Maximally Selected Statistics," Biometrics, The International Biometric Society, vol. 64(4), pages 1263-1269, December.
    8. Boulesteix, Anne-Laure & Strobl, Carolin, 2007. "Maximally selected Chi-squared statistics and non-monotonic associations: An exact approach based on two cutpoints," Computational Statistics & Data Analysis, Elsevier, vol. 51(12), pages 6295-6306, August.
    9. Anning Hu, 2017. "Using a discretized measure of academic performance to approximate primary and secondary effects in inequality of educational opportunity," Quality & Quantity: International Journal of Methodology, Springer, vol. 51(4), pages 1627-1643, July.
    10. John O'Quigley & Loki Natarajan, 2004. "Erosion of Regression Effect in a Survival Study," Biometrics, The International Biometric Society, vol. 60(2), pages 344-351, June.
    11. Saptarshi Chatterjee & Shrabanti Chowdhury & Sanjib Basu, 2021. "A model‐free approach for testing association," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 70(3), pages 511-531, June.
    12. Tunes-da-Silva, Gisela & Klein, John P., 2011. "Cutpoint selection for discretizing a continuous covariate for generalized estimating equations," Computational Statistics & Data Analysis, Elsevier, vol. 55(1), pages 226-235, January.
    13. Hollander, Norbert & Schumacher, Martin, 2006. "Estimating the functional form of a continuous covariate's effect on survival time," Computational Statistics & Data Analysis, Elsevier, vol. 50(4), pages 1131-1151, February.
    14. Yu-Min Huang, 2019. "Binary surrogates with stratified samples when weights are unknown," Computational Statistics, Springer, vol. 34(2), pages 653-682, June.
    15. Hothorn, Torsten & Lausen, Berthold, 2003. "On the exact distribution of maximally selected rank statistics," Computational Statistics & Data Analysis, Elsevier, vol. 43(2), pages 121-137, June.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:061:i08. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.