IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0323070.html
   My bibliography  Save this article

Structural time series modelling for weekly forecasting of enterovirus outpatient, inpatient, and emergency department visits

Author

Listed:
  • Cathy WS Chen
  • Leon L Hsieh
  • Betty XY Chu

Abstract

Objectives: Enteroviruses pose a substantial public health challenge in Taiwan, often leading to increased healthcare visits. This study utilizes Taiwan CDC databases to analyse weekly enterovirus case data from emergency departments (EDs), as well as outpatient and inpatient settings. The objectives are to understand infection patterns through model fitting, forecast future visits for proactive epidemic management, and improve forecast accuracy by incorporating holiday effects. This approach enhances the reliability of predictions, supporting timely and effective surveillance and early detection of significant case surges.Methods: This study divides the time series data into an in-sample period (2016—2023) and an out-of-sample period covering weeks 1 to 27 in 2024. Using an expanding window approach, the analysis applies Bayesian structural time series (BSTS) models, exponential smoothing, and random forest to forecast one-week-ahead cases over the 27 weeks in 2024. The study evaluates forecast accuracy using five key metrics and identifies significant surges in cases by detecting values that exceed the 95% prediction intervals, enhancing anomaly detection.Results: The results demonstrate that BSTS models, which incorporate trends, seasonal variations, summer, and Lunar New Year holiday effects, achieve superior forecasting accuracy. Specifically, by accounting for the Lunar New Year holiday within the out-of-sample period, the models attain mean absolute percentage error (MAPE) values of 6.509% for non-ED visits and 12.645% for ED visits.Conclusions: The BSTS model effectively addresses nonlinearity and non-stationarity and adapts well to structural changes. This study highlights the importance of holiday adjustments, particularly for the Lunar New Year, in improving forecast accuracy during periods of unusual healthcare demand. These adjustments enhance the BSTS model performance for predicting irregular healthcare service demand.

Suggested Citation

  • Cathy WS Chen & Leon L Hsieh & Betty XY Chu, 2025. "Structural time series modelling for weekly forecasting of enterovirus outpatient, inpatient, and emergency department visits," PLOS ONE, Public Library of Science, vol. 20(5), pages 1-16, May.
  • Handle: RePEc:plo:pone00:0323070
    DOI: 10.1371/journal.pone.0323070
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0323070
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0323070&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0323070?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0323070. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.