# Short-term forecasting and impact analysis of COVID-19 and the stock market in Morocco using ARIMA

**Authors:** N’Adoi Aboagye, Saralees Nadarajah

PMC · DOI: 10.1371/journal.pone.0328202 · PLOS One · 2026-02-12

## TL;DR

This study uses ARIMA to forecast short-term trends of COVID-19 cases and the MASI stock index in Morocco and examines their relationship.

## Contribution

This is the first study to forecast both COVID-19 cases and the MASI index in Morocco and analyze their dynamic interplay.

## Key findings

- ARIMA models were used to predict short-term trends of confirmed cases and the MASI index.
- The Granger causality test was applied to assess the directional relationship between the two variables.
- The study evaluated forecasting accuracy using the mean absolute percentage error (MAPE).

## Abstract

This study aimed to predict the short-term trends of confirmed COVID-19 cases and the MASI stock index in Morocco using the ARIMA method. COVID-19 case data were obtained from Our World in Data, while MASI stock market data were obtained from Investing.com. The dataset covered the period from March 2, 2020 to April 28, 2022. To develop the predictive model, data from March 2, 2020 to April 28, 2022, were used for training. Data from April 22, 2022 to April 28, 2022, were used for model fitting for COVID-19 cases, and from April 25, 2022 to April 29, 2022, for the MASI index. Based on these models, we conducted short-term forecasts for April 29, 2022 to May 1, 2022, for COVID-19 cases, and May 4, 2022 to May 6, 2022, for the MASI index. The forecasting accuracy was mainly evaluated using the mean absolute percentage error (MAPE). Furthermore, we applied the Granger causality test to investigate the potential directional relationship between COVID-19 case trends and MASI index fluctuations. To the best of our knowledge, this is the first study to perform short-term forecasting of both COVID-19 cases and the MASI stock index in Morocco while also assessing their dynamic interplay, providing a novel contribution to the intersection of epidemiological and financial modeling in the region.

## Linked entities

- **Diseases:** COVID-19 (MONDO:0100096)

## Full-text entities

- **Diseases:** COVID-19 (MESH:D000086382)

## Full text

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

## Figures

10 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12900332/full.md

## References

45 references — full list in the complete paper: https://tomesphere.com/paper/PMC12900332/full.md

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