Analysis of medical costs and two-model prediction for patients with severe mental disorders in Gansu Province, China
Abstract
Background The economic burden of severe psychiatric disorders presents a major global public health challenge, particularly in regions with underdeveloped healthcare systems. Analysing medical costs is essential for optimizing resource allocation and improving patient outcomes. Aims This study provides the first comprehensive analysis of medical expenditures for severe mental disorders in Gansu Province, China, and compares the predictive performance of the Bayesian Regression Model based on Gaussian Processes with Random Forest regression for outpatient and inpatient costs. Methods This retrospective analysis utilized data from the Gansu Provincial Healthcare Security Administration, covering 284,447 outpatient and 8,962 inpatient cases diagnosed between 2021 and 2023. Data distribution was assessed using the Kolmogorov–Smirnov test, and group comparisons were conducted using chi-square and Mann–Whitney U tests. Medical costs were predicted using the Bayesian Regression Model based on Gaussian Processes and Random Forest regression models. Results Between 2021 and 2023, the average costs per outpatient visit and inpatient admission were US$77.29 and US$922.86, respectively. The median outpatient cost declined annually from US$65.98 in 2021 to US$46.84 in 2023, whereas the median inpatient cost in 2023 exceeded that of 2021 and 2022 ( p < 0.001). In the prediction of outpatient costs, the Bayesian regression model based on Gaussian processes performed slightly better than the Random Forest model; however, the predictive ability of both models was quite limited, with a very low proportion of cost variance explained (Bayesian regression: R 2 = 0.3977, 95% CI: 0.03918–0.4022; Random Forest: R 2 = 0.0620, 95% CI: 0.0586–0.0653). Random Forest demonstrated markedly superior performance in predicting inpatient costs ( R 2 = 0.7741, 95% CI: 0.7013–0.7982), significantly outperforming Bayesian regression ( R 2 = 0.3405, 95% CI 0.3802–0.4098). Conclusion Outpatient costs continued to decline, while inpatient costs increased significantly. In predicting outpatient costs, the Bayesian regression model based on Gaussian processes performed relatively well but its overall predictive capability remained limited; the Random Forest model demonstrated superior performance in predicting inpatient costs. The study suggests that in underdeveloped regions, data-driven cost analysis should be prioritized to optimize the allocation of mental health resources and alleviate the economic burden.
Fields of Study & Subjects
Mental Health Treatment and Access
Health Systems
Economic Evaluations
Quality of Life
Psychiatric care and mental health services
Publication details
- Journal / source
- Frontiers in Public Health
- Volume
- 14
- Pages
- 1715899–1715899
- Publication date
- 23 February 2026
- Language
- EN