Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Sep 20:11:e45846.
doi: 10.2196/45846.

Analyzing and Forecasting Pediatric Fever Clinic Visits in High Frequency Using Ensemble Time-Series Methods After the COVID-19 Pandemic in Hangzhou, China: Retrospective Study

Affiliations

Analyzing and Forecasting Pediatric Fever Clinic Visits in High Frequency Using Ensemble Time-Series Methods After the COVID-19 Pandemic in Hangzhou, China: Retrospective Study

Wang Zhang et al. JMIR Med Inform. .

Abstract

Background: The COVID-19 pandemic has significantly altered the global health and medical landscape. In response to the outbreak, Chinese hospitals have established 24-hour fever clinics to serve patients with COVID-19. The emergence of these clinics and the impact of successive epidemics have led to a surge in visits, placing pressure on hospital resource allocation and scheduling. Therefore, accurate prediction of outpatient visits is essential for informed decision-making in hospital management.

Objective: Hourly visits to fever clinics can be characterized as a long-sequence time series in high frequency, which also exhibits distinct patterns due to the particularity of pediatric treatment behavior in an epidemic context. This study aimed to build models to forecast fever clinic visit with outstanding prediction accuracy and robust generalization in forecast horizons. In addition, this study hopes to provide a research paradigm for time-series forecasting problems, which involves an exploratory analysis revealing data patterns before model development.

Methods: An exploratory analysis, including graphical analysis, autocorrelation analysis, and seasonal-trend decomposition, was conducted to reveal the seasonality and structural patterns of the retrospective fever clinic visit data. The data were found to exhibit multiseasonality and nonlinearity. On the basis of these results, an ensemble of time-series analysis methods, including individual models and their combinations, was validated on the data set. Root mean square error and mean absolute error were used as accuracy metrics, with the cross-validation of rolling forecasting origin conducted across different forecast horizons.

Results: Hybrid models generally outperformed individual models across most forecast horizons. A novel model combination, the hybrid neural network autoregressive (NNAR)-seasonal and trend decomposition using Loess forecasting (STLF), was identified as the optimal model for our forecasting task, with the best performance in all accuracy metrics (root mean square error=20.1, mean absolute error=14.3) for the 15-days-ahead forecasts and an overall advantage for forecast horizons that were 1 to 30 days ahead.

Conclusions: Although forecast accuracy tends to decline with an increasing forecast horizon, the hybrid NNAR-STLF model is applicable for short-, medium-, and long-term forecasts owing to its ability to fit multiseasonality (captured by the STLF component) and nonlinearity (captured by the NNAR component). The model identified in this study is also applicable to hospitals in other regions with similar epidemic outpatient configurations or forecasting tasks whose data conform to long-sequence time series in high frequency exhibiting multiseasonal and nonlinear patterns. However, as external variables and disruptive events were not accounted for, the model performance declined slightly following changes in the COVID-19 containment policy in China. Future work may seek to improve accuracy by incorporating external variables that characterize moving events or other factors as well as by adding data from different organizations to enhance algorithm generalization.

Keywords: COVID-19; hospital management; long sequence; outpatient visits; pediatric fever clinic; time-series forecasting; visits in high frequency.

PubMed Disclaimer

Conflict of interest statement

Conflicts of Interest: None declared.

Figures

Figure 1
Figure 1
Fever clinic deployment instructions in the designated hospital.
Figure 2
Figure 2
The ratio of fever clinic visits to the total number of outpatient visits over the past 4 years.
Figure 3
Figure 3
Time-series plot of hourly fever clinic visits from January 23, 2020, to May 23, 2023.
Figure 4
Figure 4
Daily seasonal patterns in the hourly fever clinic visit time series.
Figure 5
Figure 5
Weekly seasonal patterns in the hourly fever clinic visit time series.
Figure 6
Figure 6
Yearly seasonal patterns in the hourly fever clinic visit time series.
Figure 7
Figure 7
Autocorrelation function (ACF) and partial autocorrelation function (PACF) of the hourly fever clinic visit time series.
Figure 8
Figure 8
Autocorrelation function (ACF) and partial autocorrelation function (PACF) of the seasonal differential hourly fever clinic visit time series.
Figure 9
Figure 9
Seasonal-trend decomposition using Loess on the hourly fever clinic visit time series.
Figure 10
Figure 10
Comparison of 15-day forecasts generated using single models with actual observations. NNAR: neural network autoregressive; SARIMA: seasonal autoregressive integrated moving average; SNaive: seasonal naive; STLF: seasonal and trend decomposition using Loess forecasting.
Figure 11
Figure 11
Comparison of 15-day forecasts generated using hybrid models with actual observations. NNAR: neural network autoregressive; SARIMA: seasonal autoregressive integrated moving average; STLF: seasonal and trend decomposition using Loess forecasting.
Figure 12
Figure 12
Illustration of the rolling forecasting origin cross-validation methodology.
Figure 13
Figure 13
Root mean squared error (RMSE) values calculated for different forecast horizons ranging from 1 to 30 days ahead. NNAR: neural network autoregressive; SARIMA: seasonal autoregressive integrated moving average; SNaive: seasonal naive; STLF: seasonal and trend decomposition using Loess forecasting.
Figure 14
Figure 14
Mean absolute error (MAE) values calculated for different forecast horizons ranging from 1 to 30 days ahead. NNAR: neural network autoregressive; SARIMA: seasonal autoregressive integrated moving average; SNaive: seasonal naive; STLF: seasonal and trend decomposition using Loess forecasting.
Figure 15
Figure 15
Monthly aggregated root mean squared error (RMSE) and mean absolute error (MAE) box plot.

Similar articles

References

    1. Seo JY. Pediatric endocrinology of post-pandemic era. Chonnam Med J. 2021 May;57(2):103–7. doi: 10.4068/cmj.2021.57.2.103. https://europepmc.org/abstract/MED/34123737 - DOI - PMC - PubMed
    1. Wang J, Zong L, Zhang J, Sun H, Harold Walline J, Sun P, Xu S, Li Y, Wang C, Liu J, Li F, Xu J, Li Y, Yu X, Zhu H. Identifying the effects of an upgraded 'fever clinic' on COVID-19 control and the workload of emergency department: retrospective study in a tertiary hospital in China. BMJ Open. 2020 Aug 20;10(8):e039177. doi: 10.1136/bmjopen-2020-039177. https://bmjopen.bmj.com/lookup/pmidlookup?view=long&pmid=32819955 bmjopen-2020-039177 - DOI - PMC - PubMed
    1. Bai W, Sha S, Cheung T, Su Z, Jackson T, Xiang YT. Optimizing the dynamic zero-COVID policy in China. Int J Biol Sci. 2022 Aug 21;18(14):5314–6. doi: 10.7150/ijbs.75699. https://europepmc.org/abstract/MED/36147473 ijbsv18p5314 - DOI - PMC - PubMed
    1. Notice of the General Office of the National Health Commission on improving the prevention and control of infection in fever clinics and medical institutions. National Health Commission of the People's Republic of China. 2020. Jun 30, [2021-09-14]. http://www.nhc.gov.cn/xcs/zhengcwj/202006/4e456696ceef482996a5bd2c3fb4c3... .
    1. Poloniecki JD, Atkinson RW, de Leon AP, Anderson HR. Daily time series for cardiovascular hospital admissions and previous day's air pollution in London, UK. Occup Environ Med. 1997 Aug;54(8):535–40. doi: 10.1136/oem.54.8.535. https://oem.bmj.com/lookup/pmidlookup?view=long&pmid=9326156 - DOI - PMC - PubMed

LinkOut - more resources