Skip to content
Preprint

Forecasting and Explaining the Phillips Curve: A SHAP-Based Comparison of Machine Learning and Traditional Time-Series Models for Canadian Unemployment and Inflation

Jul 2026 · 0 citations
Mathematics

TL;DR

Analysis of the top-performing XGBoost model indicates that lagged inflation is more influential than unemployment, which only becomes significantly impactful during the pandemic tail, and clarify when machine learning methods can surpass traditional benchmarks.

Abstract

This study evaluates the out-of-sample forecasting ability of six model types: ARIMA, VAR, Random Forest, XGBoost, LSTM, and GRU, for monthly Canadian inflation from January 2012 to April 2026 (n = 172). The evaluation employs expanding-window walk-forward validation across 1-, 3-, 6-, and 12-month horizons. Results reveal a horizon-dependent shift: ARIMA significantly outperforms all machine learning and deep learning models at the one-month horizon (Diebold-Mariano p<0.05). However, Random Forest and XGBoost become notably superior at six and twelve months, reducing RMSE by approximately 30-75 percent compared to ARIMA and VAR. LSTM and GRU perform well only at the shortest horizon, likely due to overfitting given the limited data. Analyzing four macroeconomic sub-periods shows that no single model consistently dominates. SHAP analysis of the top-performing XGBoost model indicates that lagged inflation is more influential than unemployment, which only becomes significantly impactful during the pandemic tail. The findings clarify when machine learning methods can surpass traditional benchmarks.

View source

Similar papers

Open access Aug 2026

Forecasting Multivariate Time Series: A Comparison of Machine Learning, Statistical and Deep Learning Models

The findings demonstrate that rigorous leakage-free validation is essential for reliable forecasting research and that, for monthly Robusta coffee prices, increased model complexity does not necessarily yield superior predictive performance.

Dler H Kadir, D. Khalil, Azhin M. Khudhur · 0 citations
2025

Machine Learning-Based Forecasting of Multivariate Time Series: Evidence from Random Forest and Extreme Gradient Boosting for VAR Model

A comparative study on conventional VAR models, Multivariate Random Forest for VAR (MRF-VAR) models and Multivariate Extreme Gradient Boosting for VAR (MXGB-VAR) models, validated using simulated and real-life dataset for Nigerian financial time series.

N. Isah, S. I. Doguwa · 0 citations
Preprint Aug 2026

Forecasting in the Fog: Real-Time versus Revised-Data Evidence on Machine Learning's Edge over the Phillips Curve

Whether the ML advantage over the Phillips curve documented in Agyekum (2026) survives when models are trained and evaluated on real-time (ALFRED) vintages rather than revised series, and whether SHAP feature-importance rankings are an artifact of in-sample estimation.

Louis Agyekum, Obed Obese · 0 citations
Open access Sep 2026

Out-of-Sample Evaluation of Machine Learning for Macro-Factor-Based ETF Allocation

The research shows that the allocation value of low-frequency macro and market characteristics is limited, and strict out-of-sample testing and asset exposure control help to identify the applicable boundaries of machine learning strategies.

Jing Liu · 0 citations
Open access Aug 2026

A COMPARATIVE ANALYSIS OF FORECASTING ACCURACY BETWEEN MACHINE LEARNING MODELS AND OLS REGRESSION: EMPIRICAL EVIDENCE FROM THE VIETNAMESE STOCK MARKET

The empirical results demonstrate that machine learning models significantly outperform OLS in capturing complex nonlinear relationships in stock returns, and the ANN model achieves the lowest RMSE, indicating the highest predictive accuracy, and generates superior long–short portfolio returns compared to the other mod...

Phat Ly Huynh Ngo, T. Pham, B. Lệ · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.