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.
Author supplied keywords
Cite
CITATION STYLE
Baya, S., Fadlallah, A., El Baraka, H., Bourouis, K., & Ezzraouli, M. (2025). Modeling and Forecasting the Real Effective Exchange Rate in Morocco: A Comparative Analysis by ARIMA, Random Forest and the Dynamic Factor Model †. Engineering Proceedings, 112(1). https://doi.org/10.3390/engproc2025112053
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.