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

Evaluating Random Forests for Survival Analysis Using Prediction Error Curves

Author

Listed:
  • Mogensen, Ulla B.
  • Ishwaran, Hemant
  • Gerds, Thomas A.

Abstract

Prediction error curves are increasingly used to assess and compare predictions in survival analysis. This article surveys the R package pec which provides a set of functions for efficient computation of prediction error curves. The software implements inverse probability of censoring weights to deal with right censored data and several variants of cross-validation to deal with the apparent error problem. In principle, all kinds of prediction models can be assessed, and the package readily supports most traditional regression modeling strategies, like Cox regression or additive hazard regression, as well as state of the art machine learning methods such as random forests, a nonparametric method which provides promising alternatives to traditional strategies in low and high-dimensional settings. We show how the functionality of pec can be extended to yet unsupported prediction models. As an example, we implement support for random forest prediction models based on the R packages randomSurvivalForest and party. Using data of the Copenhagen Stroke Study we use pec to compare random forests to a Cox regression model derived from stepwise variable selection.

Suggested Citation

  • Mogensen, Ulla B. & Ishwaran, Hemant & Gerds, Thomas A., 2012. "Evaluating Random Forests for Survival Analysis Using Prediction Error Curves," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 50(i11).
  • Handle: RePEc:jss:jstsof:v:050:i11
    DOI: http://hdl.handle.net/10.18637/jss.v050.i11
    as

    Download full text from publisher

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

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v050i11/pec_2.2.2.tar.gz
    Download Restriction: no

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

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v050i11/v50i11.Rout
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v050.i11?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. Adler, Werner & Lausen, Berthold, 2009. "Bootstrap estimated true and false positive rates and ROC curve," Computational Statistics & Data Analysis, Elsevier, vol. 53(3), pages 718-729, January.
    2. Binder Harald & Schumacher Martin, 2008. "Adapting Prediction Error Estimates for Biased Complexity Selection in High-Dimensional Bootstrap Samples," Statistical Applications in Genetics and Molecular Biology, De Gruyter, vol. 7(1), pages 1-28, March.
    3. Scheike, Thomas H. & Zhang, Mei-Jie, 2011. "Analyzing Competing Risk Data Using the R timereg Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 38(i02).
    4. Patrick J. Heagerty & Thomas Lumley & Margaret S. Pepe, 2000. "Time-Dependent ROC Curves for Censored Survival Data and a Diagnostic Marker," Biometrics, The International Biometric Society, vol. 56(2), pages 337-344, June.
    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. Sill, Martin & Hielscher, Thomas & Becker, Natalia & Zucknick, Manuela, 2014. "c060: Extended Inference with Lasso and Elastic-Net Regularized Cox and Generalized Linear Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 62(i05).
    2. Aizawa, Toshiaki, 2021. "Inequality of opportunity in infant mortality in South Asia: A decomposition analysis of survival data," Economics & Human Biology, Elsevier, vol. 43(C).
    3. Lore Zumeta-Olaskoaga & Maximilian Weigert & Jon Larruskain & Eder Bikandi & Igor Setuain & Josean Lekue & Helmut Küchenhoff & Dae-Jin Lee, 2023. "Prediction of sports injuries in football: a recurrent time-to-event approach using regularized Cox models," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 107(1), pages 101-126, March.
    4. Hoora Moradian & Denis Larocque & François Bellavance, 2017. "$$L_1$$ L 1 splitting rules in survival forests," Lifetime Data Analysis: An International Journal Devoted to Statistical Methods and Applications for Time-to-Event Data, Springer, vol. 23(4), pages 671-691, October.
    5. Chunyang Li & Vikas Patil & Kelli M. Rasmussen & Christina Yong & Hsu-Chih Chien & Debbie Morreall & Jeffrey Humpherys & Brian C. Sauer & Zachary Burningham & Ahmad S. Halwani, 2021. "Predicting Survival in Veterans with Follicular Lymphoma Using Structured Electronic Health Record Information and Machine Learning," IJERPH, MDPI, vol. 18(5), pages 1-19, March.
    6. Kamaryn T. Tanner & Linda D. Sharples & Rhian M. Daniel & Ruth H. Keogh, 2021. "Dynamic survival prediction combining landmarking with a machine learning ensemble: Methodology and empirical comparison," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 184(1), pages 3-30, January.
    7. Wang, Shikun & Li, Zhao & Lan, Lan & Zhao, Jieyi & Zheng, W. Jim & Li, Liang, 2022. "GPU accelerated estimation of a shared random effect joint model for dynamic prediction," Computational Statistics & Data Analysis, Elsevier, vol. 174(C).
    8. Mikulec Artur & Misztal Małgorzata, 2018. "Does the Type of Business Activity and the Enterprise Location Affect a Firm’S Survival? Results of an Analysis for Natural Persons Conducting Economic Activity in the Łódzkie Voivodship," Econometrics. Advances in Applied Data Analysis, Sciendo, vol. 22(3), pages 23-40, September.
    9. Bayu Adhi Tama & Sunghoon Lim, 2020. "A Comparative Performance Evaluation of Classification Algorithms for Clinical Decision Support Systems," Mathematics, MDPI, vol. 8(10), pages 1-25, October.
    10. Zhengnan Huang & Hongjiu Zhang & Jonathan Boss & Stephen A Goutman & Bhramar Mukherjee & Ivo D Dinov & Yuanfang Guan & for the Pooled Resource Open-Access ALS Clinical Trials Consortium, 2017. "Complete hazard ranking to analyze right-censored data: An ALS survival study," PLOS Computational Biology, Public Library of Science, vol. 13(12), pages 1-21, December.
    11. Chu Dani & Swartz Tim B., 2020. "Foul accumulation in the NBA," Journal of Quantitative Analysis in Sports, De Gruyter, vol. 16(4), pages 301-309, December.
    12. Arfan Raheen Afzal & Jing Yang & Xuewen Lu, 2021. "Variable selection in partially linear additive hazards model with grouped covariates and a diverging number of parameters," Computational Statistics, Springer, vol. 36(2), pages 829-855, June.
    13. Julia Gilhodes & Florence Dalenc & Jocelyn Gal & Christophe Zemmour & Eve Leconte & Jean Marie Boher & Thomas Filleron, 2020. "Comparison of Variable Selection Methods for Time-to-Event Data in High-Dimensional Settings," Post-Print hal-02934793, HAL.
    14. Heidi Seibold & Christoph Bernau & Anne-Laure Boulesteix & Riccardo De Bin, 2018. "On the choice and influence of the number of boosting steps for high-dimensional linear Cox-models," Computational Statistics, Springer, vol. 33(3), pages 1195-1215, September.

    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. Foucher Yohann & Danger Richard, 2012. "Time Dependent ROC Curves for the Estimation of True Prognostic Capacity of Microarray Data," Statistical Applications in Genetics and Molecular Biology, De Gruyter, vol. 11(6), pages 1-22, November.
    2. Chen, Zhelun & O’Neill, Zheng & Wen, Jin & Pradhan, Ojas & Yang, Tao & Lu, Xing & Lin, Guanjing & Miyata, Shohei & Lee, Seungjae & Shen, Chou & Chiosa, Roberto & Piscitelli, Marco Savino & Capozzoli, , 2023. "A review of data-driven fault detection and diagnostics for building HVAC systems," Applied Energy, Elsevier, vol. 339(C).
    3. Helene C. W. Rytgaard & Frank Eriksson & Mark J. van der Laan, 2023. "Estimation of time‐specific intervention effects on continuously distributed time‐to‐event outcomes by targeted maximum likelihood estimation," Biometrics, The International Biometric Society, vol. 79(4), pages 3038-3049, December.
    4. Claire L Heslop & Gregory E Miller & John S Hill, 2009. "Neighbourhood Socioeconomics Status Predicts Non-Cardiovascular Mortality in Cardiac Patients with Access to Universal Health Care," PLOS ONE, Public Library of Science, vol. 4(1), pages 1-8, January.
    5. Chin-Tsang Chiang & Shr-Yan Huang, 2009. "Estimation for the Optimal Combination of Markers without Modeling the Censoring Distribution," Biometrics, The International Biometric Society, vol. 65(1), pages 152-158, March.
    6. Sebastian Cremer & Lisa Pilgram & Alexander Berkowitsch & Melanie Stecher & Siegbert Rieg & Mariana Shumliakivska & Denisa Bojkova & Julian Uwe Gabriel Wagner & Galip Servet Aslan & Christoph Spinner , 2021. "Angiotensin II receptor blocker intake associates with reduced markers of inflammatory activation and decreased mortality in patients with cardiovascular comorbidities and COVID-19 disease," PLOS ONE, Public Library of Science, vol. 16(10), pages 1-17, October.
    7. Te-Ling Ma & Tsung-Hui Hu & Chao-Hung Hung & Jing-Houng Wang & Sheng-Nan Lu & Chien-Hung Chen, 2019. "Incidence and predictors of retreatment in chronic hepatitis B patients after discontinuation of entecavir or tenofovir treatment," PLOS ONE, Public Library of Science, vol. 14(10), pages 1-16, October.
    8. Liu Xinhua & Jin Zhezhen, 2009. "A Non-Parametric Approach to Scale Reduction for Uni-Dimensional Screening Scales," The International Journal of Biostatistics, De Gruyter, vol. 5(1), pages 1-22, January.
    9. Coolen-Maturi, Tahani & Elkhafifi, Faiza F. & Coolen, Frank P.A., 2014. "Three-group ROC analysis: A nonparametric predictive approach," Computational Statistics & Data Analysis, Elsevier, vol. 78(C), pages 69-81.
    10. Yingye Zheng & Patrick Heagerty, 2004. "Semiparametric Estimation of Time-Dependent: ROC Curves for Longitudinal Marker Data," UW Biostatistics Working Paper Series 1052, Berkeley Electronic Press.
    11. Shannon M Lynch & Elizabeth Handorf & Kristen A Sorice & Elizabeth Blackman & Lisa Bealin & Veda N Giri & Elias Obeid & Camille Ragin & Mary Daly, 2020. "The effect of neighborhood social environment on prostate cancer development in black and white men at high risk for prostate cancer," PLOS ONE, Public Library of Science, vol. 15(8), pages 1-18, August.
    12. Nir Y. Krakauer & Jesse C. Krakauer, 2021. "Association of X-ray Absorptiometry Body Composition Measurements with Basic Anthropometrics and Mortality Hazard," IJERPH, MDPI, vol. 18(15), pages 1-13, July.
    13. Weining Shen & Jing Ning & Ying Yuan, 2015. "A direct method to evaluate the time-dependent predictive accuracy for biomarkers," Biometrics, The International Biometric Society, vol. 71(2), pages 439-449, June.
    14. Matthias Schmid & Thomas Hielscher & Thomas Augustin & Olaf Gefeller, 2011. "A Robust Alternative to the Schemper–Henderson Estimator of Prediction Error," Biometrics, The International Biometric Society, vol. 67(2), pages 524-535, June.
    15. Si Cheng & Kathleen F Kerr & Heather Thiessen-Philbrook & Steven G Coca & Chirag R Parikh, 2020. "BioPETsurv: Methodology and open source software to evaluate biomarkers for prognostic enrichment of time-to-event clinical trials," PLOS ONE, Public Library of Science, vol. 15(9), pages 1-11, September.
    16. Stefanie Hieke & Axel Benner & Richard F Schlenk & Martin Schumacher & Lars Bullinger & Harald Binder, 2016. "Identifying Prognostic SNPs in Clinical Cohorts: Complementing Univariate Analyses by Resampling and Multivariable Modeling," PLOS ONE, Public Library of Science, vol. 11(5), pages 1-18, May.
    17. Bernd Bischl & Julia Schiffner & Claus Weihs, 2013. "Benchmarking local classification methods," Computational Statistics, Springer, vol. 28(6), pages 2599-2619, December.
    18. Tim Johnson & Valen Johnson, 2004. "A Bayesian Hierarchical Approach to Multirater Correlated ROC Analysis," The University of Michigan Department of Biostatistics Working Paper Series 1027, Berkeley Electronic Press.
    19. P. Saha & P. J. Heagerty, 2010. "Time-Dependent Predictive Accuracy in the Presence of Competing Risks," Biometrics, The International Biometric Society, vol. 66(4), pages 999-1011, December.
    20. Lori E. Dodd, 2010. "ROC Curves for Continuous Data by KRZANOWSKI, W. J. and HAND, D. J," Biometrics, The International Biometric Society, vol. 66(2), pages 657-658, 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:050:i11. 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.