|

Can Machine Learning Improve Recession Prediction?

Executive Summary

Big data utilization in economics and the financial world has increased with every passing day. In previous reports, we have discussed issues and opportunities related to big data applications in economics/finance.1 This report outlines a framework to utilize machine learning and statistical data mining tools in the economics/financial world with the goal of more accurately predicting recessions. Decision makers have a vital interest in predicting future recessions in order to enact appropriate policy. Therefore, to help decision makers, we raise the question: Does machine learning and statistical data mining improve recession prediction accuracy?

Our first method to predict recessions concerns statistical machine learning, also known as statistical data mining. This method examined over 500,000 variables as potential predictor variables in our tests. Furthermore, to obtain the final logit/probit model specification, we ran 30 million different models. The selected model was then utilized to generate recession probabilities. The second method is the random forest approach, which utilizes a famous class of machine learning tools. The random forest approach uses the same set of predictors that are utilized in the statistical data mining method. The third approach we use is known as gradient boosting, a technique that also belongs in the machine learning family. Moreover, we built an econometric model that utilizes the yield curve as an additional recession predictor and employ it as a benchmark. The other three approaches include hundreds of thousands of potential predictors that do not use any prior economic/financial theories. We set out with the question of whether machine learning tools are more useful than a simpler econometric model, a model with only one predictor.

To test a model's accuracy, we employ both in-sample and out-of-sample criteria. In our tests, the random forest approach outperforms all the other models (gradient boosting, statistical machine learning and the simple econometric model) in both the in-sample and out-of-sample situations. The gradient boosting model comes in second place, while the statistical data mining approach captures third. Furthermore, if we combine all four probabilities, then that method is still unable to beat the random forest's prediction accuracy. That is, the random forest approach, alone, is the best. Our analysis proposes that machine learning can improve recession prediction accuracy. Moreover, our models suggest a less than 5 percent chance of a recession during the next 12 months.

To sum up our big data application analysis, we would like to expand the aforementioned Picasso quote by emphasizing that it is up to the analyst to obtain either an accurate answer by utilizing computers (big data) efficiently, or end up with a useless answer by providing irrelevant inputs (more noise than signals) to the model.2 Therefore, the reliable answer may not depend on computers but rather on how one utilizes those computers.

Download The Full Special Report

Author

More from Wells Fargo Research Team
Share:

Editor's Picks

AUD/USD keeps the red near 0.6950 after weak Aussie jobs data

AUD/USD holds losses near 0.6950 on disappointing Australian jobs data, extending the previous day's retracement slide from the monthly high and hitting a fresh weekly low during Thursday’s Asian session. Meanwhile, declining US bond yields drag the US Dollar away from the April 2025 high, touched after Wednesday's hot US CPI, helping limit losses for the currency pair.

USD/JPY slides back below 158.00 as USD reverses post-CPI gains

USD/JPY extends the previous day's pullback from a three-week high, attracting follow-through selling and sliding below 158.00 during Thursday's Asian session. Traders remain on high alert amid speculation that authorities will step in to prop up the Japanese Yen. The US Dollar, meanwhile, reverses Wednesday's hot CPI-led gains to April 2025 highs as US bond yields retreat on China bond-buying talk, further pressuring the pair.

Gold: Upside remains capped by $4,200

Gold regains the smile and leaves behind three consecutive days of losses, advancing to the $4,170 region per troy ounce on Thursday. The precious metal’s recovery comes amid the fresh offered stance in the Greenback and declining US Treasury yields while investors remain cautious ahead of the Fed’s Warsh speech on Friday.

Bitcoin rebounds to $82,000 as PPI hits 6.3%, nearly $1B liquidated
Bitcoin (BTC) recovered near $82,000 on Thursday after briefly falling below $80,000, paring losses triggered by hotter-than-expected US inflation data. September PPI inflation rose 6.3% YoY, exceeding forecasts of 5.3% and marking its second-highest level since November 2022. Core PPI inflation climbed to 5% annually, above expectations of 4.4%.
Budget preview: Is Healey impressing the bond market?

There is less than 2 weeks to go before the Chancellor delivers his first budget. Unusually for the UK, the economic and financial backdrop to this budget is upbeat. UK bonds have been rallying, the FTSE 100 is the top performing major stock index this week, and the Pound is also stabilising versus the Dollar.

Everyone's dumping Gold after hot US inflation. Here's why $4,100 could be a floor, not a cliff
Gold (XAU/USD) is recovering from a sharp sell-off triggered by hotter-than-expected United States (US) inflation data released on Wednesday. The precious metal briefly plunged toward $4,073 as investors increased their bets on further Federal Reserve (Fed) interest rate hikes before recovering as US Treasury yields and the US Dollar (USD) reversed their initial gains.