Modeling and Forecasting the Real Effective Exchange Rate in Morocco: A Comparative Analysis by ARIMA, Random Forest and the Dynamic Factor Model

This paper presents a comparative empirical analysis of three modeling approaches applied to the forecasting of Morocco’s Real Effective Exchange Rate (REER): the ARIMA model, the Random Forest algorithm, and the Dynamic Factor Model (DFM). Utilizing a comprehensive macroeconomic quarterly dataset spanning from 1999Q4 to 2021Q3, the study assesses the out-of-sample predictive performance of these models over a structurally dynamic period, including the transition to a more flexible exchange rate regime in 2018 and the global shock induced by the COVID-19 pandemic. The findings reveal that the Random Forest model significantly outperforms both ARIMA and DFM in terms of accuracy and adaptability to structural breaks. Variable importance analysis highlights the dominant role of real economic fundamentals, particularly industrial value added, inflation, and exports in explaining REER movements. In contrast, the ARIMA model underreacts to exogenous shocks due to its univariate structure, while the DFM suffers from a loss of predictive power likely caused by excessive dimensionality reduction.

Authors

Institutions

Publication Details

Published
2025-10-28
DOI
https://doi.org/10.3390/engproc2025112053
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Modeling and Forecasting the Real Effective Exchange Rate in Morocco: A Comparative Analysis by ARIMA, Random Forest and the Dynamic Factor Model

Abdellali Fadlallah, Souad Baya, Khalil Bourouis, Hamza El Baraka et al.
Stock Market Forecasting Methods
article

Modeling and Forecasting the Real Effective Exchange Rate in Morocco: A Comparative Analysis by ARIMA, Random Forest and the Dynamic Factor Model

Abdellali Fadlallah, Souad Baya, Khalil Bourouis, Hamza El Baraka, Majdouline Ezzraouli
article en

Abstract

This paper presents a comparative empirical analysis of three modeling approaches applied to the forecasting of Morocco’s Real Effective Exchange Rate (REER): the ARIMA model, the Random Forest algorithm, and the Dynamic Factor Model (DFM). Utilizing a comprehensive macroeconomic quarterly dataset spanning from 1999Q4 to 2021Q3, the study assesses the out-of-sample predictive performance of these models over a structurally dynamic period, including the transition to a more flexible exchange rate regime in 2018 and the global shock induced by the COVID-19 pandemic. The findings reveal that the Random Forest model significantly outperforms both ARIMA and DFM in terms of accuracy and adaptability to structural breaks. Variable importance analysis highlights the dominant role of real economic fundamentals, particularly industrial value added, inflation, and exports in explaining REER movements. In contrast, the ARIMA model underreacts to exogenous shocks due to its univariate structure, while the DFM suffers from a loss of predictive power likely caused by excessive dimensionality reduction.

International Center for Agricultural Research in the Dry Areas (LB), Institute of Economics (LV), Institut Supérieur de l'Information et de la Communication (MA)
Openalex Percentile: Top 64%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Modeling and Forecasting the Real Effective Exchange Rate in Morocco: A Comparative Analysis by ARIMA, Random Forest and the Dynamic Factor Model — Abdellali Fadlallah, Souad Baya, et al. · (2025) | TGRS Research Map | TGRS