# Analysis of medical costs and two-model prediction for patients with severe mental disorders in Gansu Province, China

**Authors:** Peiji Miao, Xiaomei Jiang, Jinjuan Li, Weimin Pan, Aixiang Xue, Juan Cao, Jingchun Fan

PMC · DOI: 10.3389/fpubh.2026.1715899 · Frontiers in Public Health · 2026-02-23

## TL;DR

This study analyzes medical costs for patients with severe mental disorders in Gansu Province, China, and compares two models for predicting outpatient and inpatient costs.

## Contribution

The study provides the first comprehensive analysis of medical expenditures for severe mental disorders in Gansu Province and compares two predictive models.

## Key findings

- Outpatient costs declined annually, while inpatient costs increased significantly between 2021 and 2023.
- Random Forest outperformed Bayesian regression in predicting inpatient costs (R2 = 0.7741 vs. 0.3405).
- Both models showed limited predictive ability for outpatient costs, with Bayesian regression performing slightly better (R2 = 0.3977 vs. 0.0620).

## Abstract

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.

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.

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.

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: R2 = 0.3977, 95% CI: 0.03918–0.4022; Random Forest: R2 = 0.0620, 95% CI: 0.0586–0.0653). Random Forest demonstrated markedly superior performance in predicting inpatient costs (R2 = 0.7741, 95% CI: 0.7013–0.7982), significantly outperforming Bayesian regression (R2 = 0.3405, 95% CI 0.3802–0.4098).

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.

## Full-text entities

- **Diseases:** Schizophrenia (MESH:D012559), paranoid disorder (MESH:D010259), mental disorder (MESH:D001523), bipolar disorder (MESH:D001714), intellectual disability (MESH:D008607), psychotic disorder (MESH:D011618)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12969060/full.md

## Figures

4 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12969060/full.md

## References

35 references — full list in the complete paper: https://tomesphere.com/paper/PMC12969060/full.md

---
Source: https://tomesphere.com/paper/PMC12969060