Skip to main content
Log in

Predicting financial crises: an evaluation of machine learning algorithms and model explainability for early warning systems

  • Original Paper
  • Published:
Review of Evolutionary Political Economy Aims and scope Submit manuscript

Abstract

This paper addresses the critical challenge of detecting financial crises in their early stages given their profound economic and societal consequences. It investigates the efficacy of machine learning models by comparing the standard econometric model of Logistic Regression with k-nearest Neighbours, Random Forest, Extremely Randomised Trees, Support Vector Machine, and artificial Neural Network models in a cross-validation experiment. The study utilises financial crisis observations between 1870 and 2020 from the MacroHistory database and up to 14 early warning indicators from different theoretical backgrounds. The results demonstrate that advanced machine learning models, particularly Random Forest and Extremely Randomised Trees, outperform Logistic Regression, as measured by the area under the receiver operating characteristic curve (AUROC). This finding holds across different crisis data sources, early warning indicator sets, and model specifications. Furthermore, this study emphasises the importance of model explainability for both researchers and policymakers by employing Accumulated Local Effect (ALE) plots to unravel the complex predictive processes of advanced machine learning models and provide deeper insight into the underlying crisis dynamics. Nonlinear connections to financial crises were identified for several early warning indicators, which are difficult to capture by linear models. Several U-shaped relationships were observed, highlighting the disruptive role of strong economic changes for financial stability. The results emphasise the potential of advanced machine learning methods to limit the societal impact of financial crises by enabling earlier intervention by policymakers and public institutions.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4

Similar content being viewed by others

Availability of data and code

The source code of this paper is publicly available.

Notes

  1. The time periods of both World Wars (1914–1918, 1939–1945) will be excluded from the analysis.

  2. The covered countries are Australia, Belgium, Canada, Denmark, Finland, France, Germany, Ireland, Italy, Japan, Netherlands, Norway, Portugal, Spain, Sweden, Switzerland, United Kingdom and the USA.

  3. For this paper, the term “machine learning” refers exclusively to supervised machine learning, as opposed to unsupervised and reinforcement learning.

References

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chris Reimann.

Ethics declarations

Competing interests

The author declares no competing interests.

Appendix

Appendix

Table 6 Transformations and descriptions of financial crisis indicators used in this paper
Table 7 Hyperparameters used in the grid search
Fig. 5
figure 5

Observations of financial crises from 16 OECD countries between 1970 and 2020 from Laeven and Valencia (2018)

Table 8 Kernel functions tested in the hyperparameter optimisation of the SVM model
Fig. 6
figure 6

Observations of financial crises from 13 OECD countries between 1870 and 2020 from the ESRB (Lo-Duca et al. 2017)

Table 9 Logistic regression coefficients and standard errors of an in-sample cross-validation experiment using all available indicators (Set 3)
Table 10 The specifications of used machine learning models

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Reimann, C. Predicting financial crises: an evaluation of machine learning algorithms and model explainability for early warning systems. Rev Evol Polit Econ (2024). https://doi.org/10.1007/s43253-024-00114-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s43253-024-00114-4

Keywords

JEL Classification

Navigation