Development and validation of a predictive model of the hospital cost associated with bariatric surgery

Obes Res Clin Pract. 2023 Nov-Dec;17(6):529-535. doi: 10.1016/j.orcp.2023.10.003. Epub 2023 Oct 28.

Abstract

Hospitals are facing difficulties in predicting, evaluating, and managing cost-affecting parameters in patient treatments. Inaccurate cost prediction leads to a deficit in operational revenue. This study aims to determine the ability of Machine Learning (ML) algorithms to predict the cost of care in bariatric and metabolic surgery and develop a predictive tool for improved cost analysis. 602 patients who underwent bariatric and metabolic surgery at Wetzikon hospital from 2013 to 2019 were included in the study. Multiple variables including patient factors, surgical factors, and post-operative complications were tested using a number of predictive modeling strategies. The study was registered under Req 2022-00659 and approved by an institutional review board. The cost was defined as the sum of all costs incurred during the hospital stay, expressed in CHF (Swiss Francs). The data was preprocessed and split into a training set (80%) and a test set (20%) to build and validate models. The final model was selected based on the mean absolute percentage error (MAPE). The Random Forest model was found to be the most accurate in predicting the overall cost of bariatric surgery with a mean absolute percentage error of 12.7. The study provides evidence that the Random Forest model could be used by hospitals to help with financial calculations and cost-efficient operation. However, further research is needed to improve its accuracy. This study serves as a proof of principle for an efficient ML-based prediction tool to be tested on multi-center data in future phases of the study.

Keywords: Bariatric surgery; Cost analysis; Cost prediction; ML algorithms; Machine learning; Predictive model.

MeSH terms

  • Bariatric Surgery*
  • Hospital Costs*
  • Humans
  • Length of Stay
  • Machine Learning
  • Retrospective Studies