|

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

AUD/USD stays bid above 0.7100 on Australian trade data, Mideast optimism

AUD/USD clings to minor recovery gains above 0.7100 in the Asian session on Thursday as a new Israel-Lebanon ceasefire keeps a lid on the safe-haven US Dollar. Meanwhile, strong AustralianTrade Balane data also help the Aussie pair sustain the bounce from weekly lows.

USD/JPY hovers near the 160.00 intervention threshold on Mideast tensions

USD/JPY struggles to find acceptance above 160.00 and retreats from a one-month high in the Asian session on Thursday amid fears that authorities will step in again to prop up the Japanese Yen. Furthermore, a new Israel-Lebanon ceasefire caps the US Dollar and supports the currency pair. However, renewed US-Iran tensions keep the downside limited in the Greenback and the pair.

Gold defends 200-day SMA; upside seems capped on Iran uncertainty

Gold recovers from a one-week low near $4,425, or the 200-day SMA, in the Asian session on Thursday, as news of an Israel-Lebanon ceasefire acts as a headwind for the safe-haven US Dollar. However, renewed hostilities in the Gulf, along with stalled US-Iran peace talks, keep geopolitical risks in play and should support the USD, checking the Gold price rebound.


XRP and XLM outlook: Bearish streak extends as risk-off mood erodes retail demand, ETF flows

Ripple and Stellar prices face intense selling pressure, extending losses on Thursday for the fourth consecutive day this week. Cross-border remittance tokens are losing retail sentiment, while XRP faces additional pressure from Exchange-Traded Fund outflows.

Kevin Warsh takes the Fed helm: What it means for the US Dollar
The Federal Reserve moves away from the highly predictable "forward guidance" model of the Jerome Powell era to a new “Kevin Warsh environment”, characterized by less communication, more policy surprises, and an increased focus on the Fed's complex balance sheet.
Recession on paper: What really moves the Canadian Loonie now?

Statistics Canada handed the headline writers a gift and the analysts a headache. Real GDP shrank 0.1% on an annualized basis in the first quarter, and with the fourth quarter of 2025 revised down to a 1.0% contraction, that is two negative quarters in a row, the textbook definition of a technical recession and Canada's first since the pandemic.