IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0347302.html

Using tree-based ensemble methods to produce a population-based mortality risk score in Ontario, Canada

Author

Listed:
  • Steven Habbous
  • Peter C Austin
  • Shabnam Balamchi
  • Davood Astaraky
  • Roozbeh Yousefi
  • Munaza Chaudhry
  • Erik Hellsten

Abstract

Introduction: Risk adjustment is critical in observational epidemiology to control for confounding of the exposure-outcome relationship. Accurate prediction of outcomes, such as mortality, can improve risk adjustment. In the present study, we compared logistic regression with a range of tree-based ensemble methods to predict 1-year mortality in the general population of Ontario, Canada. Methods: Ontario adults (age 18 years and older) who were alive as of January 1, 2022 were included. Using a window of up to 3 years, various measures of health and healthcare utilization were captured from administrative databases. To predict 1-year mortality, we applied logistic regression, random forests, extremely randomized trees, adaptive boosting, gradient boosting, extreme gradient boosting, Newton boosting, and CatBoost. All models also included age and sex. Performance was evaluated using the area under the ROC curve (AUROC), the area under the precision-recall curve (PR-AUC), the Brier score, and a quantile-based version of the Integrated Calibration Index (ICI), reported in the 30% test set. Feature importance was assessed using CatBoost’s internal model structure, supplemented with permutation feature importance, explainable boosted machines, and marginal effects. Results: A total of 12,080,801 Ontarians were included and 121,951 (1.0%) died within 1 year. Logistic regression showed excellent discrimination (AUROC 0.926; PR-AUC 0.256) and acceptable calibration (ICI 0.0022). The best model was CatBoost, which had the best discrimination (AUROC 0.933, PR-AUC 0.280) and calibration (ICI 0.0003). In sensitivity analyses of the CatBoost model, including more detailed definitions of cancer (to include its subtype) and chronic kidney disease (defined using serum creatinine instead of diagnostic codes) produced modest improvements in PR-AUC (0.290), along with substantially improved calibration amongst the highest-risk (70–100%) individuals. The most influential model-building feature was age. Residence in long-term care and receipt of palliative care was associated with the largest marginal effects. Conclusion: The machine learning model CatBoost yielded the most accurate predictive model for 1-year mortality using individual comorbidities and additional measures of healthcare utilization for the general population. These findings demonstrate that machine learning methods can enhance risk adjustment efforts in observational studies, leading to more accurate confounder control and better support for health policy and epidemiologic research.

Suggested Citation

  • Steven Habbous & Peter C Austin & Shabnam Balamchi & Davood Astaraky & Roozbeh Yousefi & Munaza Chaudhry & Erik Hellsten, 2026. "Using tree-based ensemble methods to produce a population-based mortality risk score in Ontario, Canada," PLOS ONE, Public Library of Science, vol. 21(4), pages 1-22, April.
  • Handle: RePEc:plo:pone00:0347302
    DOI: 10.1371/journal.pone.0347302
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0347302
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0347302&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0347302?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. Max Kuhn & Kjell Johnson, 2013. "Applied Predictive Modeling," Springer Books, Springer, number 978-1-4614-6849-3, January.
    Full references (including those not matched with items on IDEAS)

    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. Md. Salman & Mou Rani Sarker & Md. Asifur Rahman & Andrew M. McKenzie & Md Abdur Rouf Sarkar, 2026. "Breaking the Regional Barriers: Identifying Determinants of Antenatal Care Access in Bangladesh for Improved Maternal Health Policy," Sustainable Development, John Wiley & Sons, Ltd., vol. 34(2), pages 2925-2962, April.
    2. Abdullah S. Al-Jawarneh & Ahmed R. M. Alsayed & Heba N. Ayyoub & Mohd Tahir Ismail & Siok Kun Sek & Kivanç Halil Ariç & Giancarlo Manzi, 2024. "Enhancing Model Selection by Obtaining Optimal Tuning Parameters in Elastic-Net Quantile Regression, Application to Crude Oil Prices," JRFM, MDPI, vol. 17(8), pages 1-19, July.
    3. Aditi Nautiyal & Amit Kumar Mishra, 2025. "Machine learning approach for intelligent prediction of petroleum upstream stuck pipe challenge in oil and gas industry," Environment, Development and Sustainability: A Multidisciplinary Approach to the Theory and Practice of Sustainable Development, Springer, vol. 27(10), pages 24167-24193, October.
    4. Hans Genberg & Özer Karagedikli, 2021. "Machine Learning and Central Banks: Ready for Prime Time?," Working Papers wp43, South East Asian Central Banks (SEACEN) Research and Training Centre.
    5. Deslatte, Aaron & Scott, Tyler A. & Carter, David P., 2019. "Specialized governance and regional land-use outcomes: A spatial analysis of Florida community development districts," Land Use Policy, Elsevier, vol. 83(C), pages 227-239.
    6. Marina Romeo & Montserrat Yepes-Baldó & Josep Pascual, 2025. "Understanding Gendered Employment Dynamics: Demographic Profiles and Characteristics of Individuals With Disabilities in Spain," SAGE Open, , vol. 15(4), pages 21582440251, November.
    7. Adamecz-Völgyi, Anna & Henderson, Morag & Shure, Nikki, 2020. "Is ‘first in family’ a good indicator for widening university participation?," Economics of Education Review, Elsevier, vol. 78(C).
    8. Kawrani, Sara & Abi Almona, Ossama & Ibrahim, Mira & Ibrahim, Moustafa & Obeid, Emil, 2026. "A comprehensive review of green hydrogen production via electrolysis and thermolysis, and the prediction of potential natural hydrogen (aka gold hydrogen) presence using machine learning," Renewable and Sustainable Energy Reviews, Elsevier, vol. 230(C).
    9. Samu, Remember & Calais, Martina & Shafiullah, G.M. & Moghbel, Moayed & Shoeb, Md Asaduzzaman & Nouri, Bijan & Blum, Niklas, 2021. "Applications for solar irradiance nowcasting in the control of microgrids: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 147(C).
    10. Paul Praveen Kumar Ashok, 2020. "Advanced Data Modeling Techniques in Power BI for Enterprise Analytics," International Journal of Computing and Engineering, CARI Journals Limited, vol. 1(2), pages 32-42.
    11. Renato P. Colistete, 2021. "Predicting Skills of Runaway Slaves in Sao Paulo, 1854-1887," Working Papers, Department of Economics 2021_15, University of São Paulo (FEA-USP), revised 23 Apr 2021.
    12. Sha, Xiaowen & Su, Miao, 2026. "Ownership, regulation, and ESG in transport and logistics: Insights for policy from explainable machine learning," Transport Policy, Elsevier, vol. 178(C).
    13. Ghurumuruhan Ganesan, 2026. "Maximum Weight of Stable Sets in Non-Sparse and Inhomogeneous Random Graphs," Journal of Theoretical Probability, Springer, vol. 39(1), pages 1-31, March.
    14. repec:bcp:journl:v:9:y:2025:i:12:p:2590-2605 is not listed on IDEAS
    15. Huynh, Tran & Uebelmesser, Silke, 2024. "Early warning models for systemic banking crises: Can political indicators improve prediction?," European Journal of Political Economy, Elsevier, vol. 81(C).
    16. Mao, Yaqi & Yu, Xiaobing & Wang, Feng & Zhu, Junhua, 2026. "Electric vehicle charging demand forecasting: A data-driven integrated learning approach," Renewable Energy, Elsevier, vol. 256(PD).
    17. Lei Xu & Takuji Kinkyo & Shigeyuki Hamori, 2018. "Predicting Currency Crises: A Novel Approach Combining Random Forests and Wavelet Transform," JRFM, MDPI, vol. 11(4), pages 1-11, December.
    18. Ghurumuruhan Ganesan, 2026. "Reduced Similarity Decompositions and Subsets of Random Categorical Datasets," Sankhya A: The Indian Journal of Statistics, Springer;Indian Statistical Institute, vol. 88(1), pages 136-159, February.
    19. Peiró-Signes, Ángel & Labarcés-Ballestas, Carlos & Segarra-Oña, Marival & Trull-Domínguez, Óscar, 2026. "Leave me be, make me strong! Growing solo to innovate together. Results from machine learning techniques on the innovation performance in resource-constrained manufacturing industries," Socio-Economic Planning Sciences, Elsevier, vol. 103(C).
    20. Gavasso-Rita, Yohanne Larissa & Zaerpour, Masoud & Abdelmoaty, Hebatallah & Li, Yanping & Elshorbagy, Amin & Schuster-Wallace, Corinne & Paschalis, Athanasios & Papalexiou, Simon Michael, 2025. "Rainfed spring canola yield response to changing heat and water stress in the Canadian Prairie region," Agricultural Water Management, Elsevier, vol. 322(C).
    21. Maksim Malyy & Zeljko Tekic & Tatiana Podladchikova, 2026. "Hey Google, how valuable is that startup? Internet search queries and new ventures’ valuation—insights from B2B and B2C sectors," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 12(1), pages 1-26, December.

    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:plo:pone00:0347302. 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: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    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.