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

Siyu Bie,Francis X. Diebold,Jingyu He,Junye Li
DOI: https://doi.org/10.48550/arxiv.2408.12863
2024-08-23
Econometrics
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 bond yields, we find (1) important yield curve regime switching, and (2) evidence that macroeconomic variables have predictive power for the yield curve when the short rate is high, but not in other regimes, thereby refining the notion of yield curve ``macro-spanning".
What problem does this paper attempt to address?