EconPapers    
Economics at your fingertips  
 

Machine Learning, the Treasury Yield Curve and Recession Forecasting

Michael Puglia and Adam Tucker

No 2020-038, Finance and Economics Discussion Series from Board of Governors of the Federal Reserve System (U.S.)

Abstract: We use machine learning methods to examine the power of Treasury term spreads and other financial market and macroeconomic variables to forecast US recessions, vis-à-vis probit regression. In particular we propose a novel strategy for conducting cross-validation on classifiers trained with macro/financial panel data of low frequency and compare the results to those obtained from standard k-folds cross-validation. Consistent with the existing literature we find that, in the time series setting, forecast accuracy estimates derived from k-folds are biased optimistically, and cross-validation strategies which eliminate data "peeking" produce lower, and perhaps more realistic, estimates of forecast accuracy. More strikingly, we also document rank reversal of probit, Random Forest, XGBoost, LightGBM, neural network and support-vector machine classifier forecast performance over the two cross-validation methodologies. That is, while a k-folds cross-validation indicates tha t the forecast accuracy of tree methods dominates that of neural networks, which in turn dominates that of probit regression, the more conservative cross-validation strategy we propose indicates the exact opposite, and that probit regression should be preferred over machine learning methods, at least in the context of the present problem. This latter result stands in contrast to a growing body of literature demonstrating that machine learning methods outperform many alternative classification algorithms and we discuss some possible reasons for our result. We also discuss techniques for conducting statistical inference on machine learning classifiers using Cochrane's Q and McNemar's tests; and use the SHapley Additive exPlanations (SHAP) framework to decompose US recession forecasts and analyze feature importance across business cycles.

Keywords: Shapley; Probit; XGBoost; Treasury yield curve; neural networks; LightGBM; Recession; Tree ensemble; Support-vector machine; Random forest (search for similar items in EconPapers)
JEL-codes: C45 C53 E37 (search for similar items in EconPapers)
Pages: 67 p.
Date: 2020-05-20
New Economics Papers: this item is included in nep-big, nep-cmp, nep-ecm, nep-for and nep-mac
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.federalreserve.gov/econres/feds/files/2020038pap.pdf (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:fip:fedgfe:2020-38

DOI: 10.17016/FEDS.2020.038

Access Statistics for this paper

More papers in Finance and Economics Discussion Series from Board of Governors of the Federal Reserve System (U.S.) Contact information at EDIRC.
Bibliographic data for series maintained by Ryan Wolfslayer ; Keisha Fournillier ().

 
Page updated 2025-03-19
Handle: RePEc:fip:fedgfe:2020-38