IDEAS home Printed from https://ideas.repec.org/p/nbr/nberwo/28302.html

Answering the Queen: Machine Learning and Financial Crises

Author

Listed:
  • Jeremy Fouliard
  • Michael Howell
  • Hélène Rey
  • Vania Stavrakeva

Abstract

Financial crises cause economic, social and political havoc. Macroprudential policies are gaining traction but are still severely under-researched compared to monetary and fiscal policy. We use the general framework of sequential predictions, also called online machine learning, to forecast crises out-of-sample. Our methodology is based on model aggregation and is “meta-statistical”, since we can incorporate any predictive model of crises in our analysis and test its ability to add information, without making any assumption on the data generating process. We predict systemic financial crises twelve quarters ahead out-of-sample with high signal-to-noise ratio. Our approach guarantees that picking certain time dependent sets of weights will be asymptotically similar for out-of-sample forecasts to the best ex post combination of models; it also guarantees that we outperform any individual forecasting model asymptotically. We analyse which models provide the most information for our predictions at each point in time and for each country, allowing us to gain some insights into economic mechanisms underlying the building of risk in economies.

Suggested Citation

  • Jeremy Fouliard & Michael Howell & Hélène Rey & Vania Stavrakeva, 2020. "Answering the Queen: Machine Learning and Financial Crises," NBER Working Papers 28302, National Bureau of Economic Research, Inc.
  • Handle: RePEc:nbr:nberwo:28302
    Note: AP CF IFM
    as

    Download full text from publisher

    File URL: http://www.nber.org/papers/w28302.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. repec:bla:ecpoli:v:16:y:2001:i:32:p:51-82 is not listed on IDEAS
    2. Rossi, Barbara, 2013. "Advances in Forecasting under Instability," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 2, chapter 0, pages 1203-1324, Elsevier.
    3. Björn Richter & Moritz Schularick & Paul Wachtel, 2021. "When to Lean against the Wind," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 53(1), pages 5-39, February.
    4. Amat, Christophe & Michalski, Tomasz & Stoltz, Gilles, 2018. "Fundamentals and exchange rate forecastability with simple machine learning methods," Journal of International Money and Finance, Elsevier, vol. 88(C), pages 1-24.
    5. Dominique Guegan & Peter Martey Addo & Bertrand Hassani, 2018. "Credit Risk Analysis Using Machine and Deep Learning Models," Université Paris1 Panthéon-Sorbonne (Post-Print and Working Papers) halshs-01835164, HAL.
    6. Frankel, Jeffrey & Saravelos, George, 2012. "Can leading indicators assess country vulnerability? Evidence from the 2008–09 global financial crisis," Journal of International Economics, Elsevier, vol. 87(2), pages 216-231.
    7. Frankel, Jeffrey A. & Rose, Andrew K., 1996. "Currency Crashes in Emerging Markets: Empirical Indicators," Center for International and Development Economics Research (CIDER) Working Papers 233424, University of California-Berkeley, Department of Economics.
    8. Fudenberg, Drew & Levine, David K., 1995. "Consistency and cautious fictitious play," Journal of Economic Dynamics and Control, Elsevier, vol. 19(5-7), pages 1065-1089.
    9. Mr. Hyun S Shin, 2013. "Procyclicality and the Search for Early Warning Indicators," IMF Working Papers 2013/258, International Monetary Fund.
    10. Casabianca, Elizabeth Jane & Catalano, Michele & Forni, Lorenzo & Giarda, Elena & Passeri, Simone, 2022. "A machine learning approach to rank the determinants of banking crises over time and across countries," Journal of International Money and Finance, Elsevier, vol. 129(C).
    11. Pesaran, Hashem & Timmermann, Allan, 2005. "Real-Time Econometrics," Econometric Theory, Cambridge University Press, vol. 21(1), pages 212-231, February.
    12. Friedman, Jerome H. & Hastie, Trevor & Tibshirani, Rob, 2010. "Regularization Paths for Generalized Linear Models via Coordinate Descent," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 33(i01).
    13. Graham Elliott & Allan Timmermann, 2016. "Economic Forecasting," Economics Books, Princeton University Press, edition 1, number 10740, December.
    14. Douglas W. Diamond & Philip H. Dybvig, 2000. "Bank runs, deposit insurance, and liquidity," Quarterly Review, Federal Reserve Bank of Minneapolis, vol. 24(Win), pages 14-23.
    15. Pierre-Olivier Gourinchas & Maurice Obstfeld, 2012. "Stories of the Twentieth Century for the Twenty-First," American Economic Journal: Macroeconomics, American Economic Association, vol. 4(1), pages 226-265, January.
    16. Carmen M. Reinhart & Graciela L. Kaminsky, 1999. "The Twin Crises: The Causes of Banking and Balance-of-Payments Problems," American Economic Review, American Economic Association, vol. 89(3), pages 473-500, June.
    17. Atif Mian & Amir Sufi, 2009. "The Consequences of Mortgage Credit Expansion: Evidence from the U.S. Mortgage Default Crisis," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 124(4), pages 1449-1496.
    18. Lo Duca, Marco & Koban, Anne & Basten, Marisa & Bengtsson, Elias & Klaus, Benjamin & Kusmierczyk, Piotr & Lang, Jan Hannes & Detken, Carsten & Peltonen, Tuomas, 2017. "A new database for financial crises in European countries," ESRB Occasional Paper Series 13, European Systemic Risk Board.
    19. Carmen M. Reinhart & Kenneth S. Rogoff, 2009. "Varieties of Crises and Their Dates," Introductory Chapters, in: This Time Is Different: Eight Centuries of Financial Folly, Princeton University Press.
    20. Virginie Coudert & Julien Idier, 2016. "An Early Warning System for Macro-prudential Policy in France," Working papers 609, Banque de France.
    21. Sufi, Amir & Taylor, Alan M., 2021. "Financial crises: A survey," CEPR Discussion Papers 16450, Centre for Economic Policy Research.
    22. 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.
    23. Francis X. Diebold & Peter Pauly, 1987. "Structural change and the combination of forecasts," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 6(1), pages 21-40.
    24. Bluwstein, Kristina & Buckmann, Marcus & Joseph, Andreas & Kapadia, Sujit & Şimşek, Özgür, 2023. "Credit growth, the yield curve and financial crisis prediction: Evidence from a machine learning approach," Journal of International Economics, Elsevier, vol. 145(C).
    25. Dominique Guegan & Peter Martey Addo & Bertrand Hassani, 2018. "Credit Risk Analysis Using Machine and Deep Learning Models," Post-Print halshs-01835164, HAL.
    26. Meese, Richard A. & Rogoff, Kenneth, 1983. "Empirical exchange rate models of the seventies : Do they fit out of sample?," Journal of International Economics, Elsevier, vol. 14(1-2), pages 3-24, February.
    27. Felix Ward, 2017. "Spotting the Danger Zone: Forecasting Financial Crises With Classification Tree Ensembles and Many Predictors," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 32(2), pages 359-378, March.
    28. Stoltz, Gilles & Lugosi, Gabor, 2007. "Learning correlated equilibria in games with compact sets of strategies," Games and Economic Behavior, Elsevier, vol. 59(1), pages 187-208, April.
    29. Nuno Coimbra & Hélène Rey, 2024. "Financial Cycles with Heterogeneous Intermediaries," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 91(2), pages 817-857.
    30. Stephen Walker & Nils Lid Hjort, 2001. "On Bayesian consistency," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 63(4), pages 811-821.
    31. Duprey, Thibaut & Klaus, Benjamin & Peltonen, Tuomas, 2017. "Dating systemic financial stress episodes in the EU countries," Journal of Financial Stability, Elsevier, vol. 32(C), pages 30-56.
    32. Diebold, Francis X. & Shin, Minchul, 2019. "Machine learning for regularized survey forecast combination: Partially-egalitarian LASSO and its derivatives," International Journal of Forecasting, Elsevier, vol. 35(4), pages 1679-1691.
    33. Peter Martey Addo & Dominique Guegan & Bertrand Hassani, 2018. "Credit Risk Analysis using Machine and Deep learning models," Documents de travail du Centre d'Economie de la Sorbonne 18003, Université Panthéon-Sorbonne (Paris 1), Centre d'Economie de la Sorbonne.
    34. Laeven, Luc & Valencia, Fabian, 2020. "Systemic Banking Crises Database: A Timely Update in COVID-19 Times," CEPR Discussion Papers 14569, Centre for Economic Policy Research.
    35. Frankel, Jeffrey A. & Rose, Andrew K., 1996. "Currency crashes in emerging markets: An empirical treatment," Journal of International Economics, Elsevier, vol. 41(3-4), pages 351-366, November.
    36. repec:rnp:ecopol:09111 is not listed on IDEAS
    37. Detken, Carsten & Peltonen, Tuomas A. & Schudel, Willem & Behn, Markus, 2013. "Setting countercyclical capital buffers based on early warning models: would it work?," Working Paper Series 1604, European Central Bank.
    38. Claudio Borio & Mathias Drehmann, 2009. "Assessing the risk of banking crises - revisited," BIS Quarterly Review, Bank for International Settlements, March.
    39. Michael Bordo & Barry Eichengreen & Daniela Klingebiel & Maria Soledad Martinez-Peria, 2001. "Is the crisis problem growing more severe?," Economic Policy, CEPR, CESifo, Sciences Po;CES;MSH, vol. 16(32), pages 52-82.
    40. Capistrán, Carlos & Timmermann, Allan, 2009. "Forecast Combination With Entry and Exit of Experts," Journal of Business & Economic Statistics, American Statistical Association, vol. 27(4), pages 428-440.
    41. Gennaioli, Nicola & Shleifer, Andrei & Vishny, Robert, 2012. "Neglected risks, financial innovation, and financial fragility," Journal of Financial Economics, Elsevier, vol. 104(3), pages 452-468.
    42. Stock, James H & Watson, Mark W, 1996. "Evidence on Structural Instability in Macroeconomic Time Series Relations," Journal of Business & Economic Statistics, American Statistical Association, vol. 14(1), pages 11-30, January.
    43. Moritz Schularick & Alan M. Taylor, 2012. "Credit Booms Gone Bust: Monetary Policy, Leverage Cycles, and Financial Crises, 1870-2008," American Economic Review, American Economic Association, vol. 102(2), pages 1029-1061, April.
    44. Òscar Jordà & Moritz Schularick & Alan M. Taylor, 2017. "Macrofinancial History and the New Business Cycle Facts," NBER Macroeconomics Annual, University of Chicago Press, vol. 31(1), pages 213-263.
    45. Diaz-Alejandro, Carlos, 1985. "Good-bye financial repression, hello financial crash," Journal of Development Economics, Elsevier, vol. 19(1-2), pages 1-24.
    46. Gilles Stoltz, 2010. "Agrégation séquentielle de prédicteurs : méthodologie générale et applications à la prévision de la qualité de l'air et à celle de la consommation électrique," Post-Print hal-00637060, HAL.
    47. Hui Zou & Trevor Hastie, 2005. "Addendum: Regularization and variable selection via the elastic net," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 67(5), pages 768-768, November.
    48. Döpke, Jörg & Fritsche, Ulrich & Pierdzioch, Christian, 2017. "Predicting recessions with boosted regression trees," International Journal of Forecasting, Elsevier, vol. 33(4), pages 745-759.
    49. Sergiu Hart & Andreu Mas-Colell, 2013. "A Simple Adaptive Procedure Leading To Correlated Equilibrium," World Scientific Book Chapters, in: Simple Adaptive Strategies From Regret-Matching to Uncoupled Dynamics, chapter 2, pages 17-46, World Scientific Publishing Co. Pte. Ltd..
    50. Beutel, Johannes & List, Sophia & von Schweinitz, Gregor, 2019. "Does machine learning help us predict banking crises?," Journal of Financial Stability, Elsevier, vol. 45(C).
    51. G. Elliott & C. Granger & A. Timmermann (ed.), 2006. "Handbook of Economic Forecasting," Handbook of Economic Forecasting, Elsevier, edition 1, volume 1, number 1.
    52. Bussiere, Matthieu & Fratzscher, Marcel, 2006. "Towards a new early warning system of financial crises," Journal of International Money and Finance, Elsevier, vol. 25(6), pages 953-973, October.
    53. Hui Zou & Trevor Hastie, 2005. "Regularization and variable selection via the elastic net," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 67(2), pages 301-320, April.
    54. Alessi, Lucia & Antunes, Antonio & Babecky, Jan & Baltussen, Simon & Behn, Markus & Bonfim, Diana & Bush, Oliver & Detken, Carsten & Frost, Jon & Guimaraes, Rodrigo & Havranek, Tomas & Joy, Mark & Kau, 2015. "Comparing different early warning systems: Results from a horse race competition among members of the Macro-prudential Research Network," MPRA Paper 62194, University Library of Munich, Germany.
    55. Asli Demirgüç-Kunt & Enrica Detragiache, 1998. "The Determinants of Banking Crises in Developing and Developed Countries," IMF Staff Papers, Palgrave Macmillan, vol. 45(1), pages 81-109, March.
    56. Philip Lowe & Claudio Borio, 2002. "Asset prices, financial and monetary stability: exploring the nexus," BIS Working Papers 114, Bank for International Settlements.
    57. Coimbra, Nuno & Kim, Daisoon & Rey, Hélène, 2022. "Central Bank Policy and the concentration of risk: Empirical estimates," Journal of Monetary Economics, Elsevier, vol. 125(C), pages 182-198.
    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. Jon Danielsson & Andreas Uthemann, 2024. "Artificial intelligence and financial crises," Papers 2407.17048, arXiv.org, revised Jul 2025.
    2. Casabianca, Elizabeth Jane & Catalano, Michele & Forni, Lorenzo & Giarda, Elena & Passeri, Simone, 2022. "A machine learning approach to rank the determinants of banking crises over time and across countries," Journal of International Money and Finance, Elsevier, vol. 129(C).
    3. Diana Zigraiova & Aitor Erce, 2025. "Quantifying Risks to Sovereign Market Access," IMF Economic Review, Palgrave Macmillan;International Monetary Fund, vol. 73(4), pages 1302-1364, December.
    4. Sebastian Edwards, 2021. "Macroprudential Policies and The Covid-19 Pandemic: Risks and Challenges For Emerging Markets," NBER Working Papers 29441, National Bureau of Economic Research, Inc.
    5. Danielsson, Jon & Uthemann, Andreas, 2025. "Artificial intelligence and financial crises," Journal of Financial Stability, Elsevier, vol. 80(C).
    6. Coimbra, Nuno & Kim, Daisoon & Rey, Hélène, 2022. "Central Bank Policy and the concentration of risk: Empirical estimates," Journal of Monetary Economics, Elsevier, vol. 125(C), pages 182-198.
    7. Nina Boyarchenko & Giovanni Favara & Moritz Schularick, 2022. "Financial Stability Considerations for Monetary Policy: Empirical Evidence and Challenges," Staff Reports 1003, Federal Reserve Bank of New York.
    8. Deák, Szabolcs & Levine, Paul & Mirza, Afrasiab & Pham, Son T., 2026. "Negotiating the wilderness of bounded rationality through robust policy," Journal of Economic Behavior & Organization, Elsevier, vol. 245(C).
    9. Zhao, Xian & Huang, Chuangxia & Yang, Xiaoguang & Cao, Jie & Yang, Xin, 2025. "Can we better predict financial crisis? The role of Laplacian-energy-like measure," International Review of Economics & Finance, Elsevier, vol. 103(C).
    10. Daniel Stempel & Johannes Zahner, 2022. "DSGE Models and Machine Learning: An Application to Monetary Policy in the Euro Area," MAGKS Papers on Economics 202232, Philipps-Universität Marburg, Faculty of Business Administration and Economics, Department of Economics (Volkswirtschaftliche Abteilung).
    11. Fernandez-Gallardo, Alvaro, 2023. "Preventing financial disasters: Macroprudential policy and financial crises," European Economic Review, Elsevier, vol. 151(C).
    12. Bluwstein, Kristina & Buckmann, Marcus & Joseph, Andreas & Kapadia, Sujit & Şimşek, Özgür, 2023. "Credit growth, the yield curve and financial crisis prediction: Evidence from a machine learning approach," Journal of International Economics, Elsevier, vol. 145(C).
    13. Lanbiao Liu & Chen Chen & Bo Wang, 2022. "Predicting financial crises with machine learning methods," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(5), pages 871-910, August.
    14. Hans Genberg & Özer Karagedikli, 2021. "Machine Learning and Central Banks: Ready for Prime Time?," Working Papers wp43, South East Asian Central Banks (SEACEN) Research and Training Centre.
    15. Yang Liu & Qingguo Zeng & Bobo Li & Lili Ma & Joaquín Ordieres‐Meré, 2022. "Anticipating financial distress of high‐tech startups in the European Union: A machine learning approach for imbalanced samples," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(6), pages 1131-1155, September.
    16. Dichtl, Hubert & Drobetz, Wolfgang & Otto, Tizian, 2023. "Forecasting Stock Market Crashes via Machine Learning," Journal of Financial Stability, Elsevier, vol. 65(C).
    17. Sonya Georgieva, 2023. "Application of Artificial Intelligence and Machine Learning in the Conduct of Monetary Policy by Central Banks," Economic Studies journal, Bulgarian Academy of Sciences - Economic Research Institute, issue 8, pages 177-199.

    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. Bluwstein, Kristina & Buckmann, Marcus & Joseph, Andreas & Kapadia, Sujit & Şimşek, Özgür, 2023. "Credit growth, the yield curve and financial crisis prediction: Evidence from a machine learning approach," Journal of International Economics, Elsevier, vol. 145(C).
    2. Tölö, Eero, 2020. "Predicting systemic financial crises with recurrent neural networks," Journal of Financial Stability, Elsevier, vol. 49(C).
    3. Bordo, M.D. & Meissner, C.M., 2016. "Fiscal and Financial Crises," Handbook of Macroeconomics, in: J. B. Taylor & Harald Uhlig (ed.), Handbook of Macroeconomics, edition 1, volume 2, chapter 0, pages 355-412, Elsevier.
    4. Lanbiao Liu & Chen Chen & Bo Wang, 2022. "Predicting financial crises with machine learning methods," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(5), pages 871-910, August.
    5. Dieckelmann, Daniel, 2020. "Cross-border lending and the international transmission of banking crises," Discussion Papers 2020/13, Free University Berlin, School of Business & Economics.
    6. Casabianca, Elizabeth Jane & Catalano, Michele & Forni, Lorenzo & Giarda, Elena & Passeri, Simone, 2022. "A machine learning approach to rank the determinants of banking crises over time and across countries," Journal of International Money and Finance, Elsevier, vol. 129(C).
    7. du Plessis, Emile, 2022. "Multinomial modeling methods: Predicting four decades of international banking crises," Economic Systems, Elsevier, vol. 46(2).
    8. Stijn Claessens & M. Ayhan Kose, 2013. "Financial Crises: Explanations, Types and Implications," CAMA Working Papers 2013-06, Centre for Applied Macroeconomic Analysis, Crawford School of Public Policy, The Australian National University.
    9. Emile du Plessis & Ulrich Fritsche, 2025. "New forecasting methods for an old problem: Predicting 147 years of systemic financial crises," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 44(1), pages 3-40, January.
    10. Xianglong Liu, 2023. "Towards Better Banking Crisis Prediction: Could an Automatic Variable Selection Process Improve the Performance?," The Economic Record, The Economic Society of Australia, vol. 99(325), pages 288-312, June.
    11. Kauko, Karlo, 2014. "How to foresee banking crises? A survey of the empirical literature," Economic Systems, Elsevier, vol. 38(3), pages 289-308.
    12. Venkatesh, Hari, 2026. "Do balance sheet vulnerabilities predict financial crises? Evidence from machine learning and Shapley decomposition," International Review of Economics & Finance, Elsevier, vol. 111(C).
    13. Lainà, Patrizio & Nyholm, Juho & Sarlin, Peter, 2015. "Leading indicators of systemic banking crises: Finland in a panel of EU countries," Review of Financial Economics, Elsevier, vol. 24(C), pages 18-35.
    14. Cesa-Bianchi, Ambrogio & Eguren Martin, Fernando & Thwaites, Gregory, 2019. "Foreign booms, domestic busts: The global dimension of banking crises," Journal of Financial Intermediation, Elsevier, vol. 37(C), pages 58-74.
    15. Aida Caldera Sánchez & Filippo Gori, 2016. "Can Reforms Promoting Growth Increase Financial Fragility?: An Empirical Assessment," OECD Economics Department Working Papers 1340, OECD Publishing.
    16. Catão, Luis A.V. & Milesi-Ferretti, Gian Maria, 2014. "External liabilities and crises," Journal of International Economics, Elsevier, vol. 94(1), pages 18-32.
    17. Nguyen, Thanh Cong & Castro, Vítor & Wood, Justine, 2022. "A new comprehensive database of financial crises: Identification, frequency, and duration," Economic Modelling, Elsevier, vol. 108(C).
    18. Huynh, Tran & Uebelmesser, Silke, 2024. "Early warning models for systemic banking crises: Can political indicators improve prediction?," European Journal of Political Economy, Elsevier, vol. 81(C).
    19. Patro, K Baishnobi & Rao, Balaga Mohana, 2026. "The paradox of progress: Forecasting currency and banking crises through the lens of financial depth, access and efficiency," Emerging Markets Review, Elsevier, vol. 74(C).
    20. Antunes, António & Bonfim, Diana & Monteiro, Nuno & Rodrigues, Paulo M.M., 2018. "Forecasting banking crises with dynamic panel probit models," International Journal of Forecasting, Elsevier, vol. 34(2), pages 249-275.

    More about this item

    JEL classification:

    • G01 - Financial Economics - - General - - - Financial Crises
    • G15 - Financial Economics - - General Financial Markets - - - International Financial Markets

    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:nbr:nberwo:28302. 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: the person in charge (email available below). General contact details of provider: https://edirc.repec.org/data/nberrus.html .

    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.