|

Can Machine Learning Improve Recession Prediction?

"Computers are useless. They can only give you answers." – Pablo Picasso

Big data utilization in economics and the financial world has increased with each passing day. In previous reports, we have discussed issues and opportunities related to big data applications in economics/finance. This piece is a quick summary of a more-detailed report that 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 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. Therefore, the reliable answer many 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

GBP/USD stays firm near 1.3350 amid easing Mideast tensions

GBP/USD builds on Friday's modest bounce from a three-week low and gains strong follow-through positive traction at the start of a new week on Monday. This marks the second straight day of gains, with the major trading near 1.3350 in European trading amid a pause in the Middle East conflict and a broadly weaker US Dollar. Traders brace for the Fed and BoE policy announcements later in the week.

EUR/USD holds gains near 1.1400 as USD slips on Iran diplomacy hopes

EUR/USD holds sizeable gains near the 1.1400 mark in the European session on Monday. The intraday strength is sponsored by a broadly weaker US Dollar, weighed down by renewed optimism over a diplomatic resolution to end a five-month-old US-Iran war.

Gold stands firm on US-Iran diplomacy hopes, reduced Fed hike bets; bulls lack conviction
Gold (XAU/USD) continues with its struggle to capitalize on a modest gap-up opening beyond the $4,100 mark through the early European session on Monday as bulls seem hesitant ahead of the crucial FOMC meeting this week. Heading into the key central bank event, reviving hopes for a diplomatic resolution to end a five-month-old US-Iran war led to a steep fall in crude oil prices.
Bitcoin holds above key support amid ETF inflows, US-Iran bombing pause
Bitcoin (BTC) holds above the key 200-week Simple Moving Average (SMA) around $63,500, having posted four consecutive weeks of gains. Institutional demand shows mild signs of improvement with spot Exchange Traded Funds (ETFs) posting inflows for a third consecutive week.
Bitcoin Price Prediction: BTC holds above key support amid ETF inflows, US-Iran bombing pause
Bitcoin (BTC) holds above the key 200-week Simple Moving Average (SMA) around $63,500, having posted four consecutive weeks of gains. Institutional demand shows mild signs of improvement with spot Exchange Traded Funds (ETFs) posting inflows for a third consecutive week.
US Dollar mid-year outlook: Exceptional currency, exceptional risks?
The US Dollar enters the second half of 2026 in a markedly different position from a year ago. The King currency has recovered, reflecting persistent US inflation, changing expectations for Fed policy, geopolitical tensions and renewed demand for defensive assets.