Forecasting admissions in psychiatric hospitals before and during Covid-19: a retrospective study with routine data
Description
Abstract The COVID-19 pandemic has strong effects on most health care systems. Forecasting of admissions can help for the efficient organisation of hospital care. We aimed to forecast the number of admissions to psychiatric hospitals before and during the COVID-19 pandemic and we compared the performance of machine learning models and time series models. This would eventually allow to support timely resource allocation for optimal treatment of patients. We used admission data from 9 psychiatric hospitals in Germany between 2017 and 2020. We compared machine learning models with time series models in weekly, monthly and yearly forecasting before and during the COVID-19 pandemic. A total of 90,686 admissions were analysed. The models explained up to 90% of variance in hospital admissions in 2019 and 75% in 2020 with the effects of the COVID-19 pandemic. The best models substantially outperformed a one-step seasonal naïve forecast (seasonal mean absolute scaled error (sMASE) 2019: 0.59, 2020: 0.76). The best model in 2019 was a machine learning model (elastic net, mean absolute error (MAE): 7.25). The best model in 2020 was a time series model (exponential smoothing state space model with Box-Cox transformation, ARMA errors and trend and seasonal components, MAE: 10.44). Models forecasting admissions one week in advance did not perform better than monthly and yearly models in 2019 but they did in 2020. The most important features for the machine learning models were calendrical variables. Model performance did not vary much between different modelling approaches before the COVID-19 pandemic and established forecasts were substantially better than one-step seasonal naïve forecasts. However, weekly time series models adjusted quicker to the COVID-19 related shock effects. In practice, multiple individual forecast horizons could be used simultaneously, such as a yearly model to achieve early forecasts for a long planning period and weekly models to adjust quicker to sudden changes.
Files
s41598-022-20190-y.pdf
Files
(2.9 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:f1cb6e7e881e6a45d85983c1cc54c718
|
2.9 MB | Preview Download |
Additional details
Identifiers
- OpenAlex
- W4296823962
- PMID
- 36151267
- URL
- https://www.nature.com/articles/s41598-022-20190-y
Related works
- Is new version of
- 10.1101/2021.07.16.21260200 (DOI)
Funding
- Medizinische Hochschule Hannover (MHH)
Dates
- Issued
-
September 23, 2022
References
- Hurst, J. Challenges for health systems in member countries of the organisation for economic co-operation and development. Bull. World Health Organ. 78, 751–760 (2000).
- Dall, T. M., Gallo, P. D., Chakrabarti, R., West, T., Semilla, A. P., & Storm, M. V. (2013). An Aging Population And Growing Disease Burden Will Require ALarge And Specialized Health Care Workforce By 2025. Health Affairs, 32(11), 2013–2020. https://doi.org/10.1377/hlthaff.2013.0714
- WHO. Global spending on health 2020: Weathering the storm (Geneva: World Health Organization, 2020).
- Ekman, B. (2017). Cost Analysis of a Digital Health Care Model in Sweden. PharmacoEconomics - Open, 2(3), 347–354. https://doi.org/10.1007/s41669-017-0059-7
- Wolff, J., Gary, A., Jung, D., Normann, C., Kaier, K., Binder, H., Domschke, K., Klimke, A., & Franz, M. (2020). Predicting patient outcomes in psychiatric hospitals with routine data: a machine learning approach. BMC Medical Informatics and Decision Making, 20(1), Article 21. https://doi.org/10.1186/s12911-020-1042-2
- Wolff, J., Hefner, G., Normann, C., Kaier, K., Binder, H., Domschke, K., Hiemke, C., Marschollek, M., & Klimke, A. (2021). Predicting the risk of drug–drug interactions in psychiatric hospitals: a retrospective longitudinal pharmacovigilance study. BMJ Open, 11(4), e045276. https://doi.org/10.1136/bmjopen-2020-045276
- Jack, E. P., & Powers, T. L. (2009). A review and synthesis of demand management, capacity management and performance in health‐care services. International Journal of Management Reviews, 11(2), 149–174. https://doi.org/10.1111/j.1468-2370.2008.00235.x
- Bernstein, S. L., Aronsky, D., Duseja, R., Epstein, S., Handel, D., Hwang, U., McCarthy, M., John McConnell, K., Pines, J. M., Rathlev, N., Schafermeyer, R., Zwemer, F., Schull, M., Asplin, B. R., & Society for Academic Emergency Medicine, E. D. C. T. F. (2008). The Effect of Emergency Department Crowding on Clinically Oriented Outcomes. Academic Emergency Medicine, 16(1), 1–10. https://doi.org/10.1111/j.1553-2712.2008.00295.x
- Needleman, J., Buerhaus, P., Mattke, S., Stewart, M., & Zelevinsky, K. (2002). Nurse-Staffing Levels and the Quality of Care in Hospitals. New England Journal of Medicine, 346(22), 1715–1722. https://doi.org/10.1056/nejmsa012247
- Michel, J.-P., & Ecarnot, F. (2020). The shortage of skilled workers in Europe: its impact on geriatric medicine. European Geriatric Medicine, 11(3), 345–347. https://doi.org/10.1007/s41999-020-00323-0
- Wolff, J., Auber, G., Schober, T., Schwär, F., Hoffmann, K., Metzger, M., Heinzmann, A., Krüger, M., Normann, C., Gitsch, G., Südkamp, N., Reinhard, T., & Berger, M. (2017). Work-Time Distribution of Physicians at a German University Hospital. Deutsches Ärzteblatt International. https://doi.org/10.3238/arztebl.2017.0705
- Wolff, J., McCrone, P., Berger, M., Patel, A., Ackermann, C., Gerhardt, K., & Normann, C. (2015). A work time study analysing differences in resource use between psychiatric inpatients. Social Psychiatry and Psychiatric Epidemiology, 50(8), 1309–1315. https://doi.org/10.1007/s00127-015-1041-2
- Blumenthal, D., Fowler, E. J., Abrams, M., & Collins, S. R. (2020). Covid-19 — Implications for the Health Care System. New England Journal of Medicine, 383(15), 1483–1488. https://doi.org/10.1056/nejmsb2021088
- Netters, S., Dekker, N., van de Wetering, K., Hasker, A., Paasman, D., de Groot, J. W., & Vissers, K. C. P. (2021). Pandemic ICU triage challenge and medical ethics. BMJ Supportive & Palliative Care, 11(2), 133–137. https://doi.org/10.1136/bmjspcare-2020-002793
- Elsheikh, A. H., Saba, A. I., Panchal, H., Shanmugan, S., Alsaleh, N. A., & Ahmadein, M. (2021). Artificial Intelligence for Forecasting the Prevalence of COVID-19 Pandemic: An Overview. Healthcare, 9(12), 1614. https://doi.org/10.3390/healthcare9121614
- Saba, A. I., & Elsheikh, A. H. (2020). Forecasting the prevalence of COVID-19 outbreak in Egypt using nonlinear autoregressive artificial neural networks. Process Safety and Environmental Protection, 141, 1–8. https://doi.org/10.1016/j.psep.2020.05.029
- National Meteorological Service. Climate data centre. https://cdc.dwd.de/portal/ (2021).
- Massicotte, P., Eddelbuettel, D. gtrendsR: Perform and display google trends queries. Version 1.4.8. https://CRAN.R-project.org/package=gtrendsR (2021).
- Friedman, J. H. (2001). Greedy function approximation: A gradient boosting machine. The Annals of Statistics, 29(5), 1189–1232. https://doi.org/10.1214/aos/1013203451
- Hearst, M. A., Dumais, S. T., Osuna, E., Platt, J., & Scholkopf, B. (1998). Support vector machines. IEEE Intelligent Systems and Their Applications, 13(4), 18–28. https://doi.org/10.1109/5254.708428
- Zou, H., & Hastie, T. (2005). Regularization and Variable Selection Via the Elastic Net. Journal of the Royal Statistical Society Series B: Statistical Methodology, 67(2), 301–320. https://doi.org/10.1111/j.1467-9868.2005.00503.x
- Hyndman, R. J., Koehler, A. B., Snyder, R. D., & Grose, S. (2002). A state space framework for automatic forecasting using exponential smoothing methods. International Journal of Forecasting, 18(3), 439–454. https://doi.org/10.1016/s0169-2070(01)00110-8
- De Livera, A. M., Hyndman, R. J., & Snyder, R. D. (2011). Forecasting Time Series With Complex Seasonal Patterns Using Exponential Smoothing. Journal of the American Statistical Association, 106(496), 1513–1527. https://doi.org/10.1198/jasa.2011.tm09771
- Taylor, S. J., & Letham, B. (2017). Forecasting at scale [Preprint]. PeerJ. https://doi.org/10.7287/peerj.preprints.3190v2
- Al-qaness, M. A. A., Saba, A. I., Elsheikh, A. H., Elaziz, M. A., Ibrahim, R. A., Lu, S., Hemedan, A. A., Shanmugan, S., & Ewees, A. A. (2021). Efficient artificial intelligence forecasting models for COVID-19 outbreak in Russia and Brazil. Process Safety and Environmental Protection, 149, 399–409. https://doi.org/10.1016/j.psep.2020.11.007
1–25 of 36
Citations
- Salas-Bolaños, R. A., Maravi-Cardenas, A., Zevallos-Aquije, A., Palomino-Salcedo, K. J., & Zevallos-Aquije, A. (2025). Influence of Length Level Growth on Accuracy Measures of the Centered Moving Average Model. A Case Study in Tomography Sessions. In Lecture Notes in Networks and Systems (pp. 59–66). Springer Nature Singapore. https://doi.org/10.1007/978-981-97-8695-4_7
- Yang, W., Ding, L., & Su, A. (2025). Comparison of SES method and SARIMA model in predicting the number of admissions in the department of neurology. Scientific Reports, 15(1), Article 18287. https://doi.org/10.1038/s41598-025-03106-4
- Kosaruk, W., Punyapornwithaya, V., Thitaram, C., Ueangpaibool, P., & Hirannithithamrong, N. (2025). Time-series analysis for forecasting monthly workload at two elephant hospitals in Thailand. PLOS One, 20(12), e0337825. https://doi.org/10.1371/journal.pone.0337825
- Karim, M., & Muhammat Pazil, N. S. (2025). A Holt-Winter Approach to Forecasting Admission in the Psychiatric Department. Information Management and Business Review, 17(4(I)), 28–37. https://doi.org/10.22610/imbr.v17i4(i).4470
- Huang, K. A., Hardin, W. M., & Prakash, N. S. (2025). Forecasting Emergency Room Patient Volumes Using Extreme Gradient Boosting With Temporal and Seasonal Feature Engineering: A Comparative Study Across Hospitals. Cureus. https://doi.org/10.7759/cureus.86276
- Chou-Chen, S. W., & Barboza, L. A. (2024). Forecasting hospital discharges for respiratory conditions in Costa Rica using climate and pollution data. Mathematical Biosciences and Engineering, 21(7), 6539–6558. https://doi.org/10.3934/mbe.2024285
- Mossop, B., Bismil, R., & Rahman, Q. A. (2023). Forecasting Hospital Mental-Health Admissions with a Novel Hybrid Deep Learning Architecture. 2023 IEEE International Conference on Bioinformatics and Biomedicine (BIBM), 4093–4100. https://doi.org/10.1109/bibm58861.2023.10385786
- Ab Kader, N. I., Yusof, U. K., & Akmal Khalid, M. N. (2023). Forecasting of Outpatient Hospital Visits using A Bidirectional Long Short-Term Memory Model. 2023 8th International Conference on Business and Industrial Research (ICBIR), 1003–1008. https://doi.org/10.1109/icbir57571.2023.10147645