[Paper Review] Time Series Analysis and Forecasting of COVID-19 Cases Using LSTM and ARIMA Models
This study compares Long Short-Term Memory (LSTM) and ARIMA models for forecasting daily cumulative COVID-19 cases using time series data. It introduces novel k-period evaluation metrics—k-day Mean Absolute Percentage Error (kMAPE) and k-day Median Symmetric Accuracy (kMdSA)—and finds that both models perform comparably, with LSTMs achieving 0.05% kMAPE and ARIMA 0.07%, demonstrating strong forecasting accuracy for public health planning.
Coronavirus disease 2019 (COVID-19) is a global public health crisis that has been declared a pandemic by World Health Organization. Forecasting country-wise COVID-19 cases is necessary to help policymakers and healthcare providers prepare for the future. This study explores the performance of several Long Short-Term Memory (LSTM) models and Auto-Regressive Integrated Moving Average (ARIMA) model in forecasting the number of confirmed COVID-19 cases. Time series of daily cumulative COVID-19 cases were used for generating 1-day, 3-day, and 5-day forecasts using several LSTM models and ARIMA. Two novel k-period performance metrics - k-day Mean Absolute Percentage Error (kMAPE) and k-day Median Symmetric Accuracy (kMdSA) - were developed for evaluating the performance of the models in forecasting time series values for multiple days. Errors in prediction using kMAPE and kMdSA for LSTM models were both as low as 0.05%, while those for ARIMA were 0.07% and 0.06% respectively. LSTM models slightly underestimated while ARIMA slightly overestimated the numbers in the forecasts. The performance of LSTM models is comparable to ARIMA in forecasting COVID-19 cases. While ARIMA requires longer sequences, LSTMs can perform reasonably well with sequence sizes as small as 3. However, LSTMs require a large number of training samples. Further, the development of k-period performance metrics proposed is likely to be useful for performance evaluation of time series models in predicting multiple periods. Based on the k-period performance metrics proposed, both LSTMs and ARIMA are useful for time series analysis and forecasting for COVID-19.
Motivation & Objective
- To evaluate the forecasting performance of LSTM and ARIMA models on daily cumulative COVID-19 case data.
- To develop and apply new k-period evaluation metrics—kMAPE and kMdSA—for multi-day time series forecasting.
- To assess model robustness under varying sequence lengths, particularly for small training sequences.
- To provide actionable insights for public health policymakers through accurate short-term case predictions.
Proposed method
- Time series of daily cumulative confirmed COVID-19 cases were used as input for both LSTM and ARIMA models.
- LSTM models were trained on sequences of varying lengths, including as short as 3 days, to evaluate performance on limited data.
- ARIMA models were fitted using standard time series identification and selection procedures based on AIC and ACF/PACF analysis.
- The kMAPE and kMdSA metrics were introduced to evaluate forecast accuracy over k consecutive days, improving multi-step evaluation.
- Model performance was assessed using 1-day, 3-day, and 5-day forecasts across multiple countries.
- Hyperparameter tuning and cross-validation were applied to optimize LSTM architecture and ARIMA order selection.
Experimental results
Research questions
- RQ1How do LSTM and ARIMA models compare in forecasting daily cumulative COVID-19 cases over 1-, 3-, and 5-day horizons?
- RQ2Can LSTMs achieve reliable forecasts with short input sequences (e.g., 3 days) compared to ARIMA?
- RQ3How effective are the proposed kMAPE and kMdSA metrics in evaluating multi-day forecasting performance?
- RQ4Do LSTMs consistently underestimate or overestimate case counts relative to ARIMA?
- RQ5What is the impact of training sample size on the predictive accuracy of LSTMs versus ARIMA?
Key findings
- LSTM models achieved a kMAPE of 0.05% and kMdSA of 0.05% for multi-day forecasts, indicating high accuracy.
- ARIMA models recorded a kMAPE of 0.07% and kMdSA of 0.06%, showing slightly lower performance than LSTMs.
- LSTMs slightly underestimated the number of cases, while ARIMA slightly overestimated them.
- LSTMs performed well even with sequence lengths as small as 3 days, demonstrating robustness to limited data.
- The proposed k-period metrics (kMAPE and kMdSA) proved effective for evaluating multi-step forecasting performance.
- Both models are viable for time series forecasting in public health contexts, with LSTMs offering a slight edge in accuracy and flexibility.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.