Recession forecasts can significantly influence the decisions of households, investors, and businesses. And these forecasts provide policymakers with key information they can use to implement policies to minimize an economic downturn's impact on society. But forecasting recessions is challenging, and economists continually work to improve forecast accuracy and timeliness.
Standard recession forecasting models use a combination of economic and financial market indicators that economists deem useful in predicting future recessions. More recently, machine learning — which can accommodate the processing of extremely large data sets and the complex relationships between indicators — has opened new avenues for economists to forecast recessions.
For their paper, “At-Risk Transformation for U.S. Recession Prediction,” Senior Economic Advisor and Machine Learning Economist Minchul Shin of the Philadelphia Fed and Rahul Billakanti of Wayzata High School in Minnesota combined simple machine learning on/off “at-risk” signals of individual economic indicators to forecast U.S. recessions. An individual indicator is at-risk if it crosses its threshold, meaning it’s in a contractionary state compared with its historical behavior. Identifying these states, they write, is important because recessions are typically preceded by weakness in certain indicators. They also compare the performance of their binarization-of-predictors approach with the performance of standard forecasting models and a more complex machine learning model.
Other researchers have developed early-warning systems using single indicators such as the inverted yield curve1 and the unemployment rate relative to a specific unemployment threshold.2 But the paper by Shin and Billakanti is most aligned with a small-scale study that also uses a machine-learning-based binary signal transformation (which, interestingly, that study’s authors adapted from a pattern recognition algorithm of earthquake predictions);3 Shin and Billakanti advance this research by broadening the set of predictors and exploring multiple methods of aggregating the data.
Specifically, they used a database of monthly U.S. macroeconomic and financial indicators (122 indicators in total) from January 1960 to December 2024 to produce recession forecasts three, six, and 12 months ahead. But instead of using the raw historical data as in standard forecasting models and many other machine learning models, they transformed the data into signals, either 1 or 0, for each indicator series. In other words, the indicator variable takes on a value of 1 when it’s in an unusually weak position by historical standards and 0 when it’s in a typical state.4 Once they transformed the indicators into binary signals, their model operated like a standard forecasting model.
Their binarization-of-predictors approach produces recession forecasts that consistently outperform standard recession-forecasting models. Furthermore, their framework’s forecasts are competitive with or outperform forecasts from a more complex machine learning method (that is, XGBoost).5 Their binary-transformation approach “may appear to discard valuable information,” they write, but “it is well-suited for predicting rare events, such as U.S. recessions, where the relevant signal often lies in whether indicators cross into unusually adverse territory.”
Their framework performs particularly well at the onset of a recession. Catching a recession early is crucial from a practical perspective because it alerts economic participants of the potential impact on their jobs and finances, and it gives policymakers more lead time to implement monetary and fiscal policies.
When they use their binarized-predictors approach, they find that interest rates/spreads and the labor market were the dominant contributors, and of similar importance, in predicting the recessions of 1990, 2001, 2008, and 2020; money and credit, prices, and output and income also played meaningful roles (to varying degrees).6 The alternative forecast methods they analyze are much more dependent on interest rates/spreads in predicting recessions, with the other sectors contributing only marginally. In short, when they use their binarized predictors, a more diverse set of sectors informs recession forecasts.
Overall, the authors find that applying an at-risk transformation using simple binarization of predictors “is a powerful tool for recession forecasting.” Their approach has the added advantage of being easy to implement and computationally inexpensive, thus offering a practical benchmark for academic research and applied forecasting of rare events like recessions. Future work, they suggest, could test the effectiveness of their binarized-predictors method over longer data periods or apply it to comparable data sets from other countries.
- The views expressed here are solely those of the author and do not necessarily reflect the views of the Federal Reserve Bank of Philadelphia or the Federal Reserve System.
- See, for example, Robert Laurent, “An Interest Rate-Based Indicator of Monetary Policy," Economic Perspectives, 12:1 (1988), pp. 3–14.
- Claudia Sahm, “Direct Stimulus Payments to Individuals,” in Heather Boushey, Ryan Nunn, and Jay Shambaugh, eds., Recession Ready: Fiscal Policies to Stabilize the American Economy, Washington, D.C.: The Hamilton Project and the Washington Center for Equitable Growth, 2019, pp. 67–92, www.hamiltonproject.org/assets/files/Sahm_web_20190506.pdf.
- Vladimir Keilis-Borok, James Stock, Alexander Soloviev, and Peter Mikhalev, “Pre-recession Pattern of Six Economic Indicators in the USA," Journal of Forecasting, 19:1 (2000), pp. 65–80, https://doi.org/10.1002/(SICI)1099-131X(200001)19:1%3C65::AID-FOR730%3E3.0.CO;2-U.
- Using the binarization-of-predictors approach, highly unusual patterns in the data — in other words, nonlinearities — are embedded directly into the predictors. This approach differs from standard forecasting models, where nonlinearities are typically captured in the modeling framework itself.
- “Much of the relevant nonlinearity,” they write “is already captured by the transformation itself,” which differs from nonlinear classifier frameworks like XGBoost.
- The authors followed the economic sector classifications found in Michael McCracken and Serena Ng, “FRED-MD: A Monthly Database for Macroeconomic Research," Journal of Business & Economic Statistics, 34:4 (2016), pp. 574–589, https://doi.org/10.1080/07350015.2015.1086655.