Comparative Analysis of ARDL, LSTM, and XGBoost Models For Forecasting The Moroccan Stock Market During The COVID-19 Pandemic
Abstract
This study evaluates and compares the forecasting performances of the ARDL (AutoRegressive Distributed Lag), LSTM (Long Short-Term Memory), and XGBOOST (Extreme Gradient Boosting) models on the MASI (Moroccan All Shares Index). The analysis incorporates daily new COVID-19 cases into the ARDL approach to investigate short-term and long-term relationships with MASI. Cointegration and causality tests are conducted on daily time series data. In terms of accuracy, the ARDL model, especially when including trend and seasonality variables, outperforms LSTM and XGBOOST models. The ARDL model with lags, trend, and seasonality variables achieves the lowest Mean Absolute Percentage Error (MAPE) of 26.7%, with a processing time of 1 second. In comparison, the LSTM and XGBOOST models have MAPE values of 30.5% and 32%, respectively, while requiring significantly longer processing times. These findings suggest that the ARDL model is more efficient and accurate in predicting future values of MASI under pandemic conditions.DOI:
https://doi.org/10.31449/inf.v49i14.5751Downloads
Additional Files
Published
How to Cite
Issue
Section
License
Authors retain copyright in their work. By submitting to and publishing with Informatica, authors grant the publisher (Slovene Society Informatika) the non-exclusive right to publish, reproduce, and distribute the article and to identify itself as the original publisher.
All articles are published under the Creative Commons Attribution license CC BY 3.0. Under this license, others may share and adapt the work for any purpose, provided appropriate credit is given and changes (if any) are indicated.
Authors may deposit and share the submitted version, accepted manuscript, and published version, provided the original publication in Informatica is properly cited.







