Forecasting G7 Stock Markets During the Russia-Ukraine Conflict: A Comparison of Machine Learning and Time Series Models
DOI:
https://doi.org/10.22452/Keywords:
Stock market, ARIMA, Machine learning, Facebook Prophet, ForecastAbstract
Machine learning methods are increasingly used for financial time series forecasting. However, their performance during major geopolitical events remains less explored. This study examines the performance of five forecasting models: ARIMA, Facebook Prophet, Random Forest, elastic GLMNet, and XGBoost to predict the stock markets of G7 countries during the Russia-Ukraine conflict. The techniques include two time series models (ARIMA and Prophet) and three machine learning algorithms (Random Forest, GLMNet, and XGBoost). We used daily closing prices of major stock indices from each G7 country (FTSE 100, S&P 500, DAX, FTSE MIB, S&P/TSX Composite, Nikkei 225, and CAC 40) covering February 24, 2022 to October 25, 2024. Forecast accuracy was evaluated using RMSE, MAE, and MAPE. ARIMA performed best in stable markets (UK, France, Italy), while GLMNet was the top machine learning model overall. All models struggled with Japan's volatile market. Germany and Italy showed the highest price fluctuations. These findings suggest that model selection should consider market stability, and that traditional time series models remain competitive in certain contexts.




