IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2408.12863.html
   My bibliography  Save this paper

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

Author

Listed:
  • Siyu Bie
  • Francis X. Diebold
  • Jingyu He
  • Junye Li

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".

Suggested Citation

  • Siyu Bie & Francis X. Diebold & Jingyu He & Junye Li, 2024. "Machine Learning and the Yield Curve: Tree-Based Macroeconomic Regime Switching," Papers 2408.12863, arXiv.org.
  • Handle: RePEc:arx:papers:2408.12863
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2408.12863
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Jingyu He & P. Richard Hahn, 2023. "Stochastic Tree Ensembles for Regularized Nonlinear Regression," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 118(541), pages 551-570, January.
    2. Lin William Cong & Guanhao Feng & Jingyu He & Junye Li, 2023. "Sparse Modeling Under Grouped Heterogeneity with an Application to Asset Pricing," NBER Working Papers 31424, National Bureau of Economic Research, Inc.
    3. Ang, Andrew & Piazzesi, Monika, 2003. "A no-arbitrage vector autoregression of term structure dynamics with macroeconomic and latent variables," Journal of Monetary Economics, Elsevier, vol. 50(4), pages 745-787, May.
    4. Michael D. Bauer & Glenn D. Rudebusch, 2017. "Resolving the Spanning Puzzle in Macro-Finance Term Structure Models," Review of Finance, European Finance Association, vol. 21(2), pages 511-553.
    5. Sydney C. Ludvigson & Serena Ng, 2009. "Macro Factors in Bond Risk Premia," The Review of Financial Studies, Society for Financial Studies, vol. 22(12), pages 5027-5067, December.
    6. Laura Coroneo & Domenico Giannone & Michele Modugno, 2016. "Unspanned Macroeconomic Factors in the Yield Curve," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 34(3), pages 472-485, July.
    7. Diebold, Francis X. & Li, Canlin, 2006. "Forecasting the term structure of government bond yields," Journal of Econometrics, Elsevier, vol. 130(2), pages 337-364, February.
    8. Qiang Dai & Kenneth J. Singleton & Wei Yang, 2007. "Regime Shifts in a Dynamic Term Structure Model of U.S. Treasury Bond Yields," The Review of Financial Studies, Society for Financial Studies, vol. 20(5), pages 1669-1706, 2007 12.
    9. Dewachter, Hans & Lyrio, Marco, 2006. "Macro Factors and the Term Structure of Interest Rates," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 38(1), pages 119-140, February.
    10. Ravi Bansal & Hao Zhou, 2002. "Term Structure of Interest Rates with Regime Shifts," Journal of Finance, American Finance Association, vol. 57(5), pages 1997-2043, October.
    11. Scott Joslin & Marcel Priebsch & Kenneth J. Singleton, 2014. "Risk Premiums in Dynamic Term Structure Models with Unspanned Macro Risks," Journal of Finance, American Finance Association, vol. 69(3), pages 1197-1233, June.
    12. Bekaert, Geert & Engstrom, Eric & Ermolov, Andrey, 2021. "Macro risks and the term structure of interest rates," Journal of Financial Economics, Elsevier, vol. 141(2), pages 479-504.
    13. Kim, Chang-Jin, 1994. "Dynamic linear models with Markov-switching," Journal of Econometrics, Elsevier, vol. 60(1-2), pages 1-22.
    14. Andrew J. Patton & Yasin Simsek, 2023. "Generalized Autoregressive Score Trees and Forests," Papers 2305.18991, arXiv.org.
    15. Constantino Hevia & Martin Gonzalez‐Rozada & Martin Sola & Fabio Spagnolo, 2015. "Estimating and Forecasting the Yield Curve Using A Markov Switching Dynamic Nelson and Siegel Model," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 30(6), pages 987-1009, September.
    16. Sims, Christopher A, 1980. "Macroeconomics and Reality," Econometrica, Econometric Society, vol. 48(1), pages 1-48, January.
    17. Ju Xiang & Xiaoneng Zhu, 2013. "A Regime-Switching Nelson--Siegel Term Structure Model and Interest Rate Forecasts," Journal of Financial Econometrics, Oxford University Press, vol. 11(3), pages 522-555, June.
    18. Gregory R. Duffee, 2011. "Information in (and not in) the Term Structure," The Review of Financial Studies, Society for Financial Studies, vol. 24(9), pages 2895-2934.
    19. Chernov, Mikhail & Mueller, Philippe, 2012. "The term structure of inflation expectations," Journal of Financial Economics, Elsevier, vol. 106(2), pages 367-394.
    20. Nelson, Charles R & Siegel, Andrew F, 1987. "Parsimonious Modeling of Yield Curves," The Journal of Business, University of Chicago Press, vol. 60(4), pages 473-489, October.
    21. Ang, Andrew & Bekaert, Geert, 2002. "Regime Switches in Interest Rates," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(2), pages 163-182, April.
    22. Diebold, Francis X. & Rudebusch, Glenn D. & Borag[caron]an Aruoba, S., 2006. "The macroeconomy and the yield curve: a dynamic latent factor approach," Journal of Econometrics, Elsevier, vol. 131(1-2), pages 309-338.
    23. Hamilton, James D, 1989. "A New Approach to the Economic Analysis of Nonstationary Time Series and the Business Cycle," Econometrica, Econometric Society, vol. 57(2), pages 357-384, March.
    24. Liu, Yan & Wu, Jing Cynthia, 2021. "Reconstructing the yield curve," Journal of Financial Economics, Elsevier, vol. 142(3), pages 1395-1425.
    25. Lin William Cong & Guanhao Feng & Jingyu He & Xin He, 2022. "Growing the Efficient Frontier on Panel Trees," NBER Working Papers 30805, National Bureau of Economic Research, Inc.
    26. Koop, Gary & Pesaran, M. Hashem & Potter, Simon M., 1996. "Impulse response analysis in nonlinear multivariate models," Journal of Econometrics, Elsevier, vol. 74(1), pages 119-147, September.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Massimo Guidolin & Manuela Pedio, 2019. "Forecasting and Trading Monetary Policy Effects on the Riskless Yield Curve with Regime Switching Nelson†Siegel Models," Working Papers 639, IGIER (Innocenzo Gasparini Institute for Economic Research), Bocconi University.
    2. Doshi, Hitesh & Jacobs, Kris & Liu, Rui, 2018. "Macroeconomic determinants of the term structure: Long-run and short-run dynamics," Journal of Empirical Finance, Elsevier, vol. 48(C), pages 99-122.
    3. Massimo Guidolin & Manuela Pedio, 2019. "Forecasting and Trading Monetary Policy Switching Nelson-Siegel Models," BAFFI CAREFIN Working Papers 19106, BAFFI CAREFIN, Centre for Applied Research on International Markets Banking Finance and Regulation, Universita' Bocconi, Milano, Italy.
    4. Zhu, Xiaoneng & Rahman, Shahidur, 2015. "A regime-switching Nelson–Siegel term structure model of the macroeconomy," Journal of Macroeconomics, Elsevier, vol. 44(C), pages 1-17.
    5. Guidolin, Massimo & Pedio, Manuela, 2019. "Forecasting and trading monetary policy effects on the riskless yield curve with regime switching Nelson–Siegel models," Journal of Economic Dynamics and Control, Elsevier, vol. 107(C), pages 1-1.
    6. Rui Liu, 2019. "Forecasting Bond Risk Premia with Unspanned Macroeconomic Information," Quarterly Journal of Finance (QJF), World Scientific Publishing Co. Pte. Ltd., vol. 9(01), pages 1-62, March.
    7. Li, Junye & Sarno, Lucio & Zinna, Gabriele, 2024. "Risks and risk premia in the US Treasury market," Journal of Economic Dynamics and Control, Elsevier, vol. 158(C).
    8. Han, Yang & Jiao, Anqi & Ma, Jun, 2021. "The predictive power of Nelson–Siegel factor loadings for the real economy," Journal of Empirical Finance, Elsevier, vol. 64(C), pages 95-127.
    9. Constantino Hevia & Martín Sola & Ivan Petrella, 2022. "Bond risk premia, priced regime shifts, and macroeconomic fundamentals," Department of Economics Working Papers 2022_03, Universidad Torcuato Di Tella.
    10. P. Byrne, Joseph & Cao, Shuo & Korobilis, Dimitris, 2015. "Term Structure Dynamics, Macro-Finance Factors and Model Uncertainty," SIRE Discussion Papers 2015-71, Scottish Institute for Research in Economics (SIRE).
    11. Filipova, Kameliya & Audrino, Francesco & De Giorgi, Enrico, 2014. "Monetary policy regimes: Implications for the yield curve and bond pricing," Journal of Financial Economics, Elsevier, vol. 113(3), pages 427-454.
    12. Levant, Jared & Ma, Jun, 2017. "A dynamic Nelson-Siegel yield curve model with Markov switching," Economic Modelling, Elsevier, vol. 67(C), pages 73-87.
    13. Michael D. Bauer & Glenn D. Rudebusch, 2017. "Resolving the Spanning Puzzle in Macro-Finance Term Structure Models," Review of Finance, European Finance Association, vol. 21(2), pages 511-553.
    14. Michael D. Bauer & Glenn D. Rudebusch, 2020. "Interest Rates under Falling Stars," American Economic Review, American Economic Association, vol. 110(5), pages 1316-1354, May.
    15. Constantino Hevia & Martin Gonzalez‐Rozada & Martin Sola & Fabio Spagnolo, 2015. "Estimating and Forecasting the Yield Curve Using A Markov Switching Dynamic Nelson and Siegel Model," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 30(6), pages 987-1009, September.
    16. Michiel De Pooter & Francesco Ravazzolo & Dick van Dijk, 2010. "Term structure forecasting using macro factors and forecast combination," International Finance Discussion Papers 993, Board of Governors of the Federal Reserve System (U.S.).
    17. Martin M. Andreasen & Tom Engsted & Stig V. Møller & Magnus Sander, 2016. "Bond Market Asymmetries across Recessions and Expansions: New Evidence on Risk Premia," CREATES Research Papers 2016-26, Department of Economics and Business Economics, Aarhus University.
    18. ZHU Xiaoneng & Shahidur RAHMAN, 2009. "A Regime Switching Macro-finance Model of the Term Structure," Economic Growth Centre Working Paper Series 0901, Nanyang Technological University, School of Social Sciences, Economic Growth Centre.
    19. Christos Ioannidis & Kook Ka, 2021. "Economic Policy Uncertainty and Bond Risk Premia," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 53(6), pages 1479-1522, September.
    20. Byrne, Joseph P. & Cao, Shuo & Korobilis, Dimitris, 2017. "Forecasting the term structure of government bond yields in unstable environments," Journal of Empirical Finance, Elsevier, vol. 44(C), pages 209-225.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2408.12863. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.