English

Machine Learning and the Yield Curve: Tree-Based Macroeconomic Regime Switching

Econometrics 2025-05-07 v2 Applications

Abstract

We explore tree-based macroeconomic regime-switching in the context of the dynamic Nelson-Siegel (DNS) yield-curve model. In particular, we customize the tree-growing algorithm to partition macroeconomic variables based on the DNS model's marginal likelihood, thereby identifying regime-shifting patterns in the yield curve. Compared to traditional Markov-switching models, our model offers clear economic interpretation via macroeconomic linkages and ensures computational simplicity. In an empirical application to U.S. Treasury yields, we find (1) important yield-curve regime switching, and (2) evidence that macroeconomic variables have predictive power for the yield curve when the federal funds rate is high, but not in other regimes, thereby refining the notion of yield curve ''macro-spanning''.

Keywords

Cite

@article{arxiv.2408.12863,
  title  = {Machine Learning and the Yield Curve: Tree-Based Macroeconomic Regime Switching},
  author = {Siyu Bie and Francis X. Diebold and Jingyu He and Junye Li},
  journal= {arXiv preprint arXiv:2408.12863},
  year   = {2025}
}
R2 v1 2026-06-28T18:21:44.125Z