|

Can Machine Learning Improve Recession Prediction?

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 extends gains above 0.6600 after upbeat China's RatingDog  PMI

AUD/USD extends fresh bids above 0.6600 in the Asian session on Tuesday as the US Dollar pauses after its recent rally to a 20-month high. Meanwhile, better-than-expected China's RatingDog Manufacturing PMI for November also supports the Aussie's latest leg up. However, divergent Fed-RBA policy expectations and geopolitical risks could limit the pair's upside.

USD/JPY keeps range around 159.50 as intervention risks loom

USD/JPY extends its sideways price move around mid-159.00s early Tuesday as traders remain on high alert amid speculation that authorities will step in to support the Japanese Yen (JPY). However, the uncertainty about the BoJ’s policy path after the December rate hike caps the JPY. Meanwhile, the US Dollar sits near a 20-month high amid Fed rate-hike bets and geopolitical risks, further keeping the pair's downside capped.

Gold bulls seem hesitant as Fed rate hike bets and geopolitics limit USD pullback

Gold touches a fresh daily high in Tuesday’s early European session, though it struggles to build on gains above $3,650. The US Dollar pulls back after logging its third consecutive monthly advance in November and its strongest monthly gain since July 2025, helping the commodity attract dip-buyers following the overnight rejection slide from the $3,700 mark. However, a bearish fundamental backdrop caps the precious metal, warranting caution before positioning for an extension of the recent recovery from the September 2025 low, touched last week.

Pepe: Three-day winning streak pushes bulls toward a make-or-break resistance test

Pepe attracts buying for the third straight day, up over 6% on Tuesday, inching closer to the 200-day Exponential Moving Average (EMA) around $0.00000393. The recovery aligns with net positive inflows in both PEPE spot and futures markets, indicating renewed demand. The technical outlook for PEPE is bullish, as easing selling pressure supports a potential reversal.

Can December deliver a Santa rally?
After a bruising November, investors are hoping December will bring some festive cheer. Historically, the Santa Claus rally refers to the final five trading days of December and the first two trading days of January. Since 1950, the S&P 500 has gained around 1.3% on average during this period, with positive returns roughly three-quarters of the time.
Australian Dollar loses ground as Fed hike bets lift the US Dollar again
AUD/USD falls on Monday as the US Dollar (USD) regains momentum amid expectations of further Federal Reserve (Fed) interest rate hikes. The Australian Dollar (AUD), already undermined by a deteriorating domestic economic outlook, struggles to stage a sustainable recovery. The pair has lost around 8.50% since its September peak near 0.7240.