IDEAS home Printed from https://ideas.repec.org/a/eee/finsta/v65y2023ics1572308922001206.html
   My bibliography  Save this article

Forecasting Stock Market Crashes via Machine Learning

Author

Listed:
  • Dichtl, Hubert
  • Drobetz, Wolfgang
  • Otto, Tizian

Abstract

This paper uses a comprehensive set of predictor variables from the five largest Eurozone countries to compare the performance of simple univariate and machine learning-based multivariate models in forecasting stock market crashes. In terms of statistical predictive performance, a support vector machine-based crash prediction model outperforms a random classifier and is superior to the average univariate benchmark as well as a multivariate logistic regression model. Incorporating nonlinear and interactive effects is both imperative and foundation for the outperformance of support vector machines. Their ability to forecast stock market crashes out-of-sample translates into substantial value-added to active investors. From a policy perspective, the use of machine learning-based crash prediction models can help activate macroprudential tools in time.

Suggested Citation

  • Dichtl, Hubert & Drobetz, Wolfgang & Otto, Tizian, 2023. "Forecasting Stock Market Crashes via Machine Learning," Journal of Financial Stability, Elsevier, vol. 65(C).
  • Handle: RePEc:eee:finsta:v:65:y:2023:i:c:s1572308922001206
    DOI: 10.1016/j.jfs.2022.101099
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S1572308922001206
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.jfs.2022.101099?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Kelly, Bryan T. & Pruitt, Seth & Su, Yinan, 2019. "Characteristics are covariances: A unified model of risk and return," Journal of Financial Economics, Elsevier, vol. 134(3), pages 501-524.
    2. Ivo Welch & Amit Goyal, 2008. "A Comprehensive Look at The Empirical Performance of Equity Premium Prediction," The Review of Financial Studies, Society for Financial Studies, vol. 21(4), pages 1455-1508, July.
    3. Lewellen, Jonathan, 2015. "The Cross-section of Expected Stock Returns," Critical Finance Review, now publishers, vol. 4(1), pages 1-44, June.
    4. Ò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.
    5. Alessi, Lucia & Detken, Carsten, 2018. "Identifying excessive credit growth and leverage," Journal of Financial Stability, Elsevier, vol. 35(C), pages 215-225.
    6. Luc Laeven & Fabian Valencia, 2020. "Systemic Banking Crises Database II," IMF Economic Review, Palgrave Macmillan;International Monetary Fund, vol. 68(2), pages 307-361, June.
    7. Baur, Dirk G. & McDermott, Thomas K., 2010. "Is gold a safe haven? International evidence," Journal of Banking & Finance, Elsevier, vol. 34(8), pages 1886-1898, August.
    8. 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.
    9. Fischer, Stanley & Merton, Robert C., 1984. "Macroeconomics and finance: The role of the stock market," Carnegie-Rochester Conference Series on Public Policy, Elsevier, vol. 21(1), pages 57-108, January.
    10. John Y. Campbell & Robert J. Shiller, 1988. "Stock Prices, Earnings and Expected Dividends," Cowles Foundation Discussion Papers 858, Cowles Foundation for Research in Economics, Yale University.
    11. 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.
    12. Joachim Freyberger & Andreas Neuhierl & Michael Weber & Andrew KarolyiEditor, 2020. "Dissecting Characteristics Nonparametrically," Review of Financial Studies, Society for Financial Studies, vol. 33(5), pages 2326-2377.
    13. William N. Goetzmann & Dasol Kim, 2018. "Negative bubbles: What happens after a crash," European Financial Management, European Financial Management Association, vol. 24(2), pages 171-191, March.
    14. Malcolm Baker & Jeffrey Wurgler, 2007. "Investor Sentiment in the Stock Market," Journal of Economic Perspectives, American Economic Association, vol. 21(2), pages 129-152, Spring.
    15. Dirk G. Baur & Brian M. Lucey, 2010. "Is Gold a Hedge or a Safe Haven? An Analysis of Stocks, Bonds and Gold," The Financial Review, Eastern Finance Association, vol. 45(2), pages 217-229, May.
    16. Kremer, Manfred & Lo Duca, Marco & Holló, Dániel, 2012. "CISS - a composite indicator of systemic stress in the financial system," Working Paper Series 1426, European Central Bank.
    17. De Long, J Bradford & Andrei Shleifer & Lawrence H. Summers & Robert J. Waldmann, 1990. "Noise Trader Risk in Financial Markets," Journal of Political Economy, University of Chicago Press, vol. 98(4), pages 703-738, August.
    18. John Y. Campbell, Robert J. Shiller, 1988. "The Dividend-Price Ratio and Expectations of Future Dividends and Discount Factors," The Review of Financial Studies, Society for Financial Studies, vol. 1(3), pages 195-228.
    19. 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.
    20. Kent Daniel & David Hirshleifer & Avanidhar Subrahmanyam, 1998. "Investor Psychology and Security Market Under- and Overreactions," Journal of Finance, American Finance Association, vol. 53(6), pages 1839-1885, December.
    21. repec:ecb:ecbwps:20111426 is not listed on IDEAS
    22. Christopher J. Neely & David E. Rapach & Jun Tu & Guofu Zhou, 2014. "Forecasting the Equity Risk Premium: The Role of Technical Indicators," Management Science, INFORMS, vol. 60(7), pages 1772-1791, July.
    23. Barro, Robert J. & Ursúa, José F., 2017. "Stock-market crashes and depressions," Research in Economics, Elsevier, vol. 71(3), pages 384-398.
    24. Wolfgang Drobetz & Tizian Otto, 2021. "Empirical asset pricing via machine learning: evidence from the European stock market," Journal of Asset Management, Palgrave Macmillan, vol. 22(7), pages 507-538, December.
    25. Luboš Pástor & Pietro Veronesi, 2009. "Technological Revolutions and Stock Prices," American Economic Review, American Economic Association, vol. 99(4), pages 1451-1483, September.
    26. Laeven, Luc & Valencia, Fabian, 2020. "Systemic Banking Crises Database: A Timely Update in COVID-19 Times," CEPR Discussion Papers 14569, C.E.P.R. Discussion Papers.
    27. Campbell, John Y & Shiller, Robert J, 1988. " Stock Prices, Earnings, and Expected Dividends," Journal of Finance, American Finance Association, vol. 43(3), pages 661-676, July.
    28. Andrew Ang & Allan Timmermann, 2012. "Regime Changes and Financial Markets," Annual Review of Financial Economics, Annual Reviews, vol. 4(1), pages 313-337, October.
    29. R. David Mclean & Jeffrey Pontiff, 2016. "Does Academic Research Destroy Stock Return Predictability?," Journal of Finance, American Finance Association, vol. 71(1), pages 5-32, February.
    30. Barberis, Nicholas & Shleifer, Andrei & Vishny, Robert, 1998. "A model of investor sentiment," Journal of Financial Economics, Elsevier, vol. 49(3), pages 307-343, September.
    31. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," The Review of Financial Studies, Society for Financial Studies, vol. 33(5), pages 2223-2273.
    32. Pastor, Lubos & Veronesi, Pietro, 2006. "Was there a Nasdaq bubble in the late 1990s?," Journal of Financial Economics, Elsevier, vol. 81(1), pages 61-100, July.
    33. S. Lleo & W. T. Ziemba, 2019. "Can Warren Buffett forecast equity market corrections?," The European Journal of Finance, Taylor & Francis Journals, vol. 25(4), pages 369-393, March.
    34. Estrada, Javier, 2006. "The Fed model: A note," Finance Research Letters, Elsevier, vol. 3(1), pages 14-22, March.
    35. 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.
    36. Rudebusch, Glenn D. & Williams, John C., 2009. "Forecasting Recessions: The Puzzle of the Enduring Power of the Yield Curve," Journal of Business & Economic Statistics, American Statistical Association, vol. 27(4), pages 492-503.
    37. Estrella, Arturo & Hardouvelis, Gikas A, 1991. "The Term Structure as a Predictor of Real Economic Activity," Journal of Finance, American Finance Association, vol. 46(2), pages 555-576, June.
    38. Huang, Chai Liang & Chang, Yu Ching, 2022. "Growth impact of equity market crises: A global perspective," International Review of Economics & Finance, Elsevier, vol. 78(C), pages 153-176.
    39. Matthew Baron & Emil Verner & Wei Xiong, 2021. "Banking Crises Without Panics," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 136(1), pages 51-113.
    40. Samitas, Aristeidis & Kampouris, Elias & Kenourgios, Dimitris, 2020. "Machine learning as an early warning system to predict financial crisis," International Review of Financial Analysis, Elsevier, vol. 71(C).
    41. Carmen M. Reinhart & Vincent R. Reinhart, 2015. "Financial Crises, Development, and Growth: A Long-term Perspective," The World Bank Economic Review, World Bank, vol. 29(suppl_1), pages 53-76.
    42. Robert J. Shiller, 2003. "From Efficient Markets Theory to Behavioral Finance," Journal of Economic Perspectives, American Economic Association, vol. 17(1), pages 83-104, Winter.
    43. Paulo Maio, 2013. "The "Fed Model" and the Predictability of Stock Returns," Review of Finance, European Finance Association, vol. 17(4), pages 1489-1533.
    44. Jan Bulla & Sascha Mergner & Ingo Bulla & André Sesboüé & Christophe Chesneau, 2011. "Markov-switching asset allocation: Do profitable strategies exist?," Journal of Asset Management, Palgrave Macmillan, vol. 12(5), pages 310-321, November.
    45. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," Review of Finance, European Finance Association, vol. 33(5), pages 2223-2273.
    46. Brunnermeier, Markus K. & Oehmke, Martin, 2013. "Bubbles, Financial Crises, and Systemic Risk," Handbook of the Economics of Finance, in: G.M. Constantinides & M. Harris & R. M. Stulz (ed.), Handbook of the Economics of Finance, volume 2, chapter 0, pages 1221-1288, Elsevier.
    47. Elena Ferrer & Julie Salaber & Anna Zalewska, 2016. "Consumer confidence indices and stock markets' meltdowns," The European Journal of Finance, Taylor & Francis Journals, vol. 22(3), pages 195-220, February.
    48. Carmen M. Reinhart & Kenneth S. Rogoff, 2011. "From Financial Crash to Debt Crisis," American Economic Review, American Economic Association, vol. 101(5), pages 1676-1706, August.
    49. Dichtl, Hubert & Drobetz, Wolfgang & Kryzanowski, Lawrence, 2016. "Timing the stock market: Does it really make no sense?," Journal of Behavioral and Experimental Finance, Elsevier, vol. 10(C), pages 88-104.
    50. Ohlson, Ja, 1980. "Financial Ratios And The Probabilistic Prediction Of Bankruptcy," Journal of Accounting Research, Wiley Blackwell, vol. 18(1), pages 109-131.
    51. Sornette, Didier & Cauwels, Peter, 2015. "Financial Bubbles: Mechanisms and Diagnostics," Review of Behavioral Economics, now publishers, vol. 2(3), pages 279-305, October.
    52. Bradley Jones, 2016. "Institutionalizing Countercyclical Investment: A Framework for Long-term Asset Owners," IMF Working Papers 2016/038, International Monetary Fund.
    53. Leung, Mark T. & Daouk, Hazem & Chen, An-Sing, 2000. "Forecasting stock indices: a comparison of classification and level estimation models," International Journal of Forecasting, Elsevier, vol. 16(2), pages 173-190.
    54. Cenesizoglu, Tolga & Timmermann, Allan, 2012. "Do return prediction models add economic value?," Journal of Banking & Finance, Elsevier, vol. 36(11), pages 2974-2987.
    55. François Longin & Bruno Solnik, 2001. "Extreme Correlation of International Equity Markets," Journal of Finance, American Finance Association, vol. 56(2), pages 649-676, April.
    56. Anna Scherbina & Bernd Schlusche, 2014. "Asset price bubbles: a survey," Quantitative Finance, Taylor & Francis Journals, vol. 14(4), pages 589-604, April.
    57. Harvey, Campbell R., 1988. "The real term structure and consumption growth," Journal of Financial Economics, Elsevier, vol. 22(2), pages 305-333, December.
    58. William T Ziemba & Mikhail Zhitlukhin & Sebastien Lleo, 2017. "Stock Market Crashes:Predictable and Unpredictable and What to do About Them," World Scientific Books, World Scientific Publishing Co. Pte. Ltd., number 10506, January.
    59. Eugene F. Fama, 2014. "Two Pillars of Asset Pricing," American Economic Review, American Economic Association, vol. 104(6), pages 1467-1485, June.
    60. Tanaka, Katsuyuki & Kinkyo, Takuji & Hamori, Shigeyuki, 2016. "Random forests-based early warning system for bank failures," Economics Letters, Elsevier, vol. 148(C), pages 118-121.
    61. Beutel, Johannes & List, Sophia & von Schweinitz, Gregor, 2019. "Does machine learning help us predict banking crises?," Journal of Financial Stability, Elsevier, vol. 45(C).
    62. Leitch, Gordon & Tanner, J Ernest, 1991. "Economic Forecast Evaluation: Profits versus the Conventional Error Measures," American Economic Review, American Economic Association, vol. 81(3), pages 580-590, June.
    63. Ferson, Wayne E & Harvey, Campbell R, 1993. "The Risk and Predictability of International Equity Returns," The Review of Financial Studies, Society for Financial Studies, vol. 6(3), pages 527-566.
    Full references (including those not matched with items on IDEAS)

    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. Stijn Claessens & M Ayhan Kose, 2018. "Frontiers of macrofinancial linkages," BIS Papers, Bank for International Settlements, number 95.
    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. Christian Fieberg & Daniel Metko & Thorsten Poddig & Thomas Loy, 2023. "Machine learning techniques for cross-sectional equity returns’ prediction," OR Spectrum: Quantitative Approaches in Management, Springer;Gesellschaft für Operations Research e.V., vol. 45(1), pages 289-323, March.
    4. Smith, Simon C., 2021. "International stock return predictability," International Review of Financial Analysis, Elsevier, vol. 78(C).
    5. , & Stein, Tobias, 2021. "Equity premium predictability over the business cycle," CEPR Discussion Papers 16357, C.E.P.R. Discussion Papers.
    6. Stijn Claessens & M Ayhan Kose, 2017. "Asset prices and macroeconomic outcomes: a survey," BIS Working Papers 676, Bank for International Settlements.
    7. Wang, Peiwan & Zong, Lu, 2023. "Does machine learning help private sectors to alarm crises? Evidence from China’s currency market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 611(C).
    8. Wolfgang Drobetz & Tizian Otto, 2021. "Empirical asset pricing via machine learning: evidence from the European stock market," Journal of Asset Management, Palgrave Macmillan, vol. 22(7), pages 507-538, December.
    9. Dichtl, Hubert, 2020. "Forecasting excess returns of the gold market: Can we learn from stock market predictions?," Journal of Commodity Markets, Elsevier, vol. 19(C).
    10. Tran Huynh & Silke Uebelmesser, 2022. "Early warning models for systemic banking crises: can political indicators improve prediction?," Jena Economics Research Papers 2022-007, Friedrich-Schiller-University Jena.
    11. Clarke, Charles, 2022. "The level, slope, and curve factor model for stocks," Journal of Financial Economics, Elsevier, vol. 143(1), pages 159-187.
    12. Doron Avramov & Si Cheng & Lior Metzker, 2023. "Machine Learning vs. Economic Restrictions: Evidence from Stock Return Predictability," Management Science, INFORMS, vol. 69(5), pages 2587-2619, May.
    13. Julien Pénasse & Luc Renneboog, 2022. "Speculative Trading and Bubbles: Evidence from the Art Market," Management Science, INFORMS, vol. 68(7), pages 4939-4963, July.
    14. Cakici, Nusret & Fieberg, Christian & Metko, Daniel & Zaremba, Adam, 2023. "Machine learning goes global: Cross-sectional return predictability in international stock markets," Journal of Economic Dynamics and Control, Elsevier, vol. 155(C).
    15. Lawrenz, Jochen & Zorn, Josef, 2017. "Predicting international stock returns with conditional price-to-fundamental ratios," Journal of Empirical Finance, Elsevier, vol. 43(C), pages 159-184.
    16. Rapach, David & Zhou, Guofu, 2013. "Forecasting Stock Returns," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 2, chapter 0, pages 328-383, Elsevier.
    17. van Binsbergen, Jules H. & Boons, Martijn & Opp, Christian C. & Tamoni, Andrea, 2023. "Dynamic asset (mis)pricing: Build-up versus resolution anomalies," Journal of Financial Economics, Elsevier, vol. 147(2), pages 406-431.
    18. Xi Dong & Yan Li & David E. Rapach & Guofu Zhou, 2022. "Anomalies and the Expected Market Return," Journal of Finance, American Finance Association, vol. 77(1), pages 639-681, February.
    19. Carmen M. Reinhart, 2022. "From Health Crisis to Financial Distress," IMF Economic Review, Palgrave Macmillan;International Monetary Fund, vol. 70(1), pages 4-31, March.
    20. Beutel, Johannes & List, Sophia & von Schweinitz, Gregor, 2019. "Does machine learning help us predict banking crises?," Journal of Financial Stability, Elsevier, vol. 45(C).

    More about this item

    Keywords

    Extreme event prediction; Stock market crashes; Machine learning; Active trading strategy;
    All these keywords.

    JEL classification:

    • G11 - Financial Economics - - General Financial Markets - - - Portfolio Choice; Investment Decisions
    • G12 - Financial Economics - - General Financial Markets - - - Asset Pricing; Trading Volume; Bond Interest Rates
    • G14 - Financial Economics - - General Financial Markets - - - Information and Market Efficiency; Event Studies; Insider Trading
    • G17 - Financial Economics - - General Financial Markets - - - Financial Forecasting and Simulation

    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:eee:finsta:v:65:y:2023:i:c:s1572308922001206. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/jfstabil .

    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.