1/1/2025
This project models monthly changes in the US 2-year Treasury yield, first as a univariate time series (AR and EGARCH models) and then adding lagged CPI, core CPI and industrial production. Consistent with the yield being a market price that already reflects published information, monthly changes are close to unpredictable. Neither past yield changes nor macro data available at the time of the forecast improve significantly on a no-change (random walk) forecast out of sample. The macro model did slightly better during the 2022 hiking cycle, but gave most of this back as the cycle turned. By contrast, the volatility of yield changes, i.e. the expected size of next month’s move, is predictable: it clusters strongly over time, and EGARCH forecasts outperform a constant-variance benchmark out of sample.
The notebook works through:
- Stationarity tests (ADF, KPSS) and choosing an AR lag length (AIC/BIC)
- Residual diagnostics: Ljung-Box, ARCH-LM, Jarque-Bera
- GARCH, GJR-GARCH and EGARCH models with Student-t errors
- Expanding-window out-of-sample forecasts of the mean and volatility, scored against a random walk and constant variance (RMSE, Clark-West, QLIKE, Diebold-Mariano)
- Adding lagged CPI, core CPI and industrial production as regressors