IDEAS home Printed from https://ideas.repec.org/p/arx/papers/1701.01428.html
   My bibliography  Save this paper

Predicting Economic Recessions Using Machine Learning Algorithms

Author

Listed:
  • Rickard Nyman
  • Paul Ormerod

Abstract

Even at the beginning of 2008, the economic recession of 2008/09 was not being predicted. The failure to predict recessions is a persistent theme in economic forecasting. The Survey of Professional Forecasters (SPF) provides data on predictions made for the growth of total output, GDP, in the United States for one, two, three and four quarters ahead since the end of the 1960s. Over a three quarters ahead horizon, the mean prediction made for GDP growth has never been negative over this period. The correlation between the mean SPF three quarters ahead forecast and the data is very low, and over the most recent 25 years is not significantly different from zero. Here, we show that the machine learning technique of random forests has the potential to give early warning of recessions. We use a small set of explanatory variables from financial markets which would have been available to a forecaster at the time of making the forecast. We train the algorithm over the 1970Q2-1990Q1 period, and make predictions one, three and six quarters ahead. We then re-train over 1970Q2-1990Q2 and make a further set of predictions, and so on. We did not attempt any optimisation of predictions, using only the default input parameters to the algorithm we downloaded in the package R. We compare the predictions made from 1990 to the present with the actual data. One quarter ahead, the algorithm is not able to improve on the SPF predictions. Three and six quarters ahead, the correlations between actual and predicted are low, but they are very significantly different from zero. Although the timing is slightly wrong, a serious downturn in the first half of 2009 could have been predicted six quarters ahead in late 2007. The algorithm never predicts a recession when one did not occur. We obtain even stronger results with random forest machine learning techniques in the case of the United Kingdom.

Suggested Citation

  • Rickard Nyman & Paul Ormerod, 2017. "Predicting Economic Recessions Using Machine Learning Algorithms," Papers 1701.01428, arXiv.org.
  • Handle: RePEc:arx:papers:1701.01428
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/1701.01428
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Fildes, Robert & Stekler, Herman, 2002. "The state of macroeconomic forecasting," Journal of Macroeconomics, Elsevier, vol. 24(4), pages 435-468, December.
    2. Fildes, Robert & Stekler, Herman, 2002. "Reply to the comments on 'The state of macroeconomic forecasting'," Journal of Macroeconomics, Elsevier, vol. 24(4), pages 503-505, December.
    3. Alessi, Lucia & Detken, Carsten, 2011. "Quasi real time early warning indicators for costly asset price boom/bust cycles: A role for global liquidity," European Journal of Political Economy, Elsevier, vol. 27(3), pages 520-533, September.
    4. Hal R. Varian, 2014. "Big Data: New Tricks for Econometrics," Journal of Economic Perspectives, American Economic Association, vol. 28(2), pages 3-28, Spring.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Cheng-Feng Wu & Shian-Chang Huang & Chei-Chang Chiou & Tsangyao Chang & Yung-Chih Chen, 2022. "The Relationship Between Economic Growth and Electricity Consumption: Bootstrap ARDL Test with a Fourier Function and Machine Learning Approach," Computational Economics, Springer;Society for Computational Economics, vol. 60(4), pages 1197-1220, December.
    2. Cyrille Lenoel & Garry Young, 2020. "Real-time turning point indicators: Review of current international practices," Economic Statistics Centre of Excellence (ESCoE) Discussion Papers ESCoE DP-2020-05, Economic Statistics Centre of Excellence (ESCoE).
    3. Marcelle Chauvet & Rafael R. S. Guimaraes, 2021. "Transfer Learning for Business Cycle Identification," Working Papers Series 545, Central Bank of Brazil, Research Department.
    4. Ariel Alexi & Teddy Lazebnik & Labib Shami, 2024. "Microfounded Tax Revenue Forecast Model with Heterogeneous Population and Genetic Algorithm Approach," Computational Economics, Springer;Society for Computational Economics, vol. 63(5), pages 1705-1734, May.
    5. Franck Ramaharo & Gerzhino Rasolofomanana, 2023. "Nowcasting Madagascar's real GDP using machine learning algorithms," Papers 2401.10255, arXiv.org.
    6. Jeffrey C. Chen & Abe Dunn & Kyle Hood & Alexander Driessen & Andrea Batch, 2019. "Off to the Races: A Comparison of Machine Learning and Alternative Data for Predicting Economic Indicators," NBER Chapters, in: Big Data for Twenty-First-Century Economic Statistics, pages 373-402, National Bureau of Economic Research, Inc.
    7. Giovanni Cicceri & Giuseppe Inserra & Michele Limosani, 2020. "A Machine Learning Approach to Forecast Economic Recessions—An Italian Case Study," Mathematics, MDPI, vol. 8(2), pages 1-20, February.
    8. Rafael R. S. Guimaraes, 2022. "Deep Learning Macroeconomics," Papers 2201.13380, arXiv.org.
    9. Tölö, Eero, 2020. "Predicting systemic financial crises with recurrent neural networks," Journal of Financial Stability, Elsevier, vol. 49(C).
    10. Paolo Fornaro & Henri Luomaranta, 2020. "Nowcasting Finnish real economic activity: a machine learning approach," Empirical Economics, Springer, vol. 58(1), pages 55-71, January.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Rickard Nyman & Paul Ormerod, 2020. "Understanding the Great Recession Using Machine Learning Algorithms," Papers 2001.02115, arXiv.org.
    2. Karsten Müller, 2022. "German forecasters’ narratives: How informative are German business cycle forecast reports?," Empirical Economics, Springer, vol. 62(5), pages 2373-2415, May.
    3. Rostami-Tabar, Bahman & Ali, Mohammad M. & Hong, Tao & Hyndman, Rob J. & Porter, Michael D. & Syntetos, Aris, 2022. "Forecasting for social good," International Journal of Forecasting, Elsevier, vol. 38(3), pages 1245-1257.
    4. Ericsson, Neil R., 2016. "Eliciting GDP forecasts from the FOMC’s minutes around the financial crisis," International Journal of Forecasting, Elsevier, vol. 32(2), pages 571-583.
    5. Tara M. Sinclair & Fred Joutz & Herman O. Stekler, 2008. "Are 'unbiased' forecasts really unbiased? Another look at the Fed forecasts," Working Papers 2008-010, The George Washington University, Department of Economics, H. O. Stekler Research Program on Forecasting.
    6. Heilemann, Ullrich & Stekler, Herman, 2007. "Introduction to "The future of macroeconomic forecasting"," International Journal of Forecasting, Elsevier, vol. 23(2), pages 159-165.
    7. Torsten Schmidt & Simeon Vosen, 2012. "Using Internet Data to Account for Special Events in Economic Forecasting," Ruhr Economic Papers 0382, Rheinisch-Westfälisches Institut für Wirtschaftsforschung, Ruhr-Universität Bochum, Universität Dortmund, Universität Duisburg-Essen.
    8. Ullrich Heilemann & Karsten Müller, 2018. "Wenig Unterschiede – Zur Treffsicherheit Internationaler Prognosen und Prognostiker [Few differences—on the accuracy of international forecasts and forecaster]," AStA Wirtschafts- und Sozialstatistisches Archiv, Springer;Deutsche Statistische Gesellschaft - German Statistical Society, vol. 12(3), pages 195-233, December.
    9. Nathan Goldstein & Ben‐Zion Zilberfarb, 2023. "The closer we get, the better we are?," Economic Inquiry, Western Economic Association International, vol. 61(2), pages 364-376, April.
    10. Leitner, Johannes & Leopold-Wildburger, Ulrike, 2011. "Experiments on forecasting behavior with several sources of information - A review of the literature," European Journal of Operational Research, Elsevier, vol. 213(3), pages 459-469, September.
    11. Döpke, Jörg & Fritsche, Ulrich & Müller, Karsten, 2019. "Has macroeconomic forecasting changed after the Great Recession? Panel-based evidence on forecast accuracy and forecaster behavior from Germany," Journal of Macroeconomics, Elsevier, vol. 62(C).
    12. Messina, Jeffrey D. & Sinclair, Tara M. & Stekler, Herman, 2015. "What can we learn from revisions to the Greenbook forecasts?," Journal of Macroeconomics, Elsevier, vol. 45(C), pages 54-62.
    13. Döpke Jörg & Fritsche Ulrich & Waldhof Gabi, 2019. "Theories, Techniques and the Formation of German Business Cycle Forecasts : Evidence from a survey of professional forecasters," Journal of Economics and Statistics (Jahrbuecher fuer Nationaloekonomie und Statistik), De Gruyter, vol. 239(2), pages 203-241, April.
    14. Jakab M., Zoltán & Kovács, Mihály András & Kiss, Gergely, 2006. "Mit tanultunk?. A jegybanki előrejelzések szerepe az inflációs cél követésének első öt évében Magyarországon [What are we studying?. The role of central-bank forecasts in Hungarian inflation target," Közgazdasági Szemle (Economic Review - monthly of the Hungarian Academy of Sciences), Közgazdasági Szemle Alapítvány (Economic Review Foundation), vol. 0(12), pages 1101-1134.
    15. Sergey V. Smirnov & Daria A. Avdeeva, 2016. "Wishful Bias in Predicting Us Recessions: Indirect Evidence," HSE Working papers WP BRP 135/EC/2016, National Research University Higher School of Economics.
    16. Mathy, Gabriel & Stekler, Herman, 2017. "Expectations and forecasting during the Great Depression: Real-time evidence from the business press," Journal of Macroeconomics, Elsevier, vol. 53(C), pages 1-15.
    17. Klinger, Sabine & Heilemann, Ullrich, 2005. "Zu wenig Wettbewerb? Zu Stand und Entwicklung der Genauigkeit makroökonomischer Prognosen," Technical Reports 2005,16, Technische Universität Dortmund, Sonderforschungsbereich 475: Komplexitätsreduktion in multivariaten Datenstrukturen.
    18. Nicholas Taylor, 2014. "Economic forecast quality: information timeliness and data vintage effects," Empirical Economics, Springer, vol. 46(1), pages 145-174, February.
    19. Olga Isengildina-Massa & Berna Karali & Scott H. Irwin, 2013. "When do the USDA forecasters make mistakes?," Applied Economics, Taylor & Francis Journals, vol. 45(36), pages 5086-5103, December.
    20. Glocker, Christian & Kaniovski, Serguei, 2020. "Structural modeling and forecasting using a cluster of dynamic factor models," MPRA Paper 101874, University Library of Munich, Germany.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:1701.01428. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.