IDEAS home Printed from https://ideas.repec.org/p/hit/hcfrwp/g-1-30.html
   My bibliography  Save this paper

Detecting Bubbles by Machine Learning Prediction

Author

Listed:
  • MINAMI, Koutaroh

Abstract

This study explores the potential of machine learning, Long Short-Term Memory (LSTM), to detect asset price bubbles by analyzing prediction errors. Using monthly data of the Nikkei225 Index, I evaluate the performance of LSTM model in forecasting prices and compare with the GSADF test. I find that LSTM’s prediction accuracy significantly deteriorates during periods associated with asset bubbles, suggesting the presence of structural changes. In particular, the LSTM approach of this paper captures both the emergence and collapse of Japan’s late 1980s bubble separately. In addition, it can also capture structural changes related to policy changes in the 2010s Japan, which are not identified by the GSADF test. These findings suggest that machine learning can be used for not only identifying bubbles but also policy evaluations.

Suggested Citation

  • MINAMI, Koutaroh, 2025. "Detecting Bubbles by Machine Learning Prediction," Working Paper Series G-1-30, Hitotsubashi University Center for Financial Research.
  • Handle: RePEc:hit:hcfrwp:g-1-30
    as

    Download full text from publisher

    File URL: https://hit-u.repo.nii.ac.jp/record/2060981/files/070hcfrWP_1_030.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Daniele Bianchi & Matthias Büchner & Andrea Tamoni, 2021. "Bond Risk Premiums with Machine Learning [Quadratic term structure models: Theory and evidence]," The Review of Financial Studies, Society for Financial Studies, vol. 34(2), pages 1046-1089.
    2. Peter C. B. Phillips & Yangru Wu & Jun Yu, 2011. "EXPLOSIVE BEHAVIOR IN THE 1990s NASDAQ: WHEN DID EXUBERANCE ESCALATE ASSET VALUES?," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 52(1), pages 201-226, February.
    3. Evans, George W, 1991. "Pitfalls in Testing for Explosive Bubbles in Asset Prices," American Economic Review, American Economic Association, vol. 81(4), pages 922-930, September.
    4. Ghosh, Pushpendu & Neufeld, Ariel & Sahoo, Jajati Keshari, 2022. "Forecasting directional movements of stock prices for intraday trading using LSTM and random forests," Finance Research Letters, Elsevier, vol. 46(PA).
    5. Kai Li & Feng Mai & Rui Shen & Xinyan Yan, 2021. "Measuring Corporate Culture Using Machine Learning," NBER Chapters, in: Big Data: Long-Term Implications for Financial Markets and Firms, pages 3265-3315, National Bureau of Economic Research, Inc.
    6. Diba, Behzad T & Grossman, Herschel I, 1988. "Explosive Rational Bubbles in Stock Prices?," American Economic Review, American Economic Association, vol. 78(3), pages 520-530, June.
    7. Ze Shen & Qing Wan & David J. Leatham, 2021. "Bitcoin Return Volatility Forecasting: A Comparative Study between GARCH and RNN," JRFM, MDPI, vol. 14(7), pages 1-18, July.
    8. Kai Li & Feng Mai & Rui Shen & Xinyan Yan, 2021. "Measuring Corporate Culture Using Machine Learning [Machine learning methods that economists should know about]," The Review of Financial Studies, Society for Financial Studies, vol. 34(7), pages 3265-3315.
    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. Peter C.B. Phillips & Shu-Ping Shi & Jun Yu, 2011. "Testing for Multiple Bubbles," Working Papers 09-2011, Singapore Management University, School of Economics.
    2. Michalski, Lachlan & Low, Rand Kwong Yew, 2024. "Determinants of corporate credit ratings: Does ESG matter?," International Review of Financial Analysis, Elsevier, vol. 94(C).
    3. Paulo M.M. Rodrigues & Rita Fradique Lourenço, 2015. "House prices: bubbles, exuberance or something else? Evidence from euro area countries," Working Papers w201517, Banco de Portugal, Economics and Research Department.
    4. Francisco Blasques & Siem Jan Koopman & Gabriele Mingoli, 2023. "Observation-Driven filters for Time- Series with Stochastic Trends and Mixed Causal Non-Causal Dynamics," Tinbergen Institute Discussion Papers 23-065/III, Tinbergen Institute, revised 01 Mar 2024.
    5. Tsai, I-Chun & Chiang, Shu-Hen, 2019. "Exuberance and spillovers in housing markets: Evidence from first- and second-tier cities in China," Regional Science and Urban Economics, Elsevier, vol. 77(C), pages 75-86.
    6. Chan, Joshua C.C. & Santi, Caterina, 2021. "Speculative bubbles in present-value models: A Bayesian Markov-switching state space approach," Journal of Economic Dynamics and Control, Elsevier, vol. 127(C).
    7. Adrian Fernández-Pérez & Marta Gómez-Puig & Simón Sosvilla-Rivero, 2025. "El Clasico of Housing: Bubbles in Madrid and Barcelona’s Real Estate Markets," Documentos de Trabajo del ICAE 2025-03, Universidad Complutense de Madrid, Facultad de Ciencias Económicas y Empresariales, Instituto Complutense de Análisis Económico.
    8. Janusz Sobieraj & Dominik Metelski, 2021. "Testing Housing Markets for Episodes of Exuberance: Evidence from Different Polish Cities," JRFM, MDPI, vol. 14(9), pages 1-29, September.
    9. Victor Duarte & Diogo Duarte & Dejanir H. Silva, 2024. "Machine Learning for Continuous-Time Finance," CESifo Working Paper Series 10909, CESifo.
    10. Assaf, Ata & Demir, Ender & Ersan, Oguz, 2024. "Detecting and date-stamping bubbles in fan tokens," International Review of Economics & Finance, Elsevier, vol. 92(C), pages 98-113.
    11. Wei Long & Dingding Li & Qi Li, 2016. "Testing explosive behavior in the gold market," Empirical Economics, Springer, vol. 51(3), pages 1151-1164, November.
    12. Jose E. Gomez-Gonzalez & Jair N. Ojeda-Joya & Juan P. Franco & Jhon E. Torres, 2017. "Asset Price Bubbles: Existence, Persistence and Migration," South African Journal of Economics, Economic Society of South Africa, vol. 85(1), pages 52-67, March.
    13. Roselyne Joyeux & George Milunovich, 2015. "Speculative bubbles, financial crises and convergence in global real estate investment trusts," Applied Economics, Taylor & Francis Journals, vol. 47(27), pages 2878-2898, June.
    14. Brian M. Lucey & Fergal A. O’Connor, 2013. "Do bubbles occur in the gold price? An investigation of gold lease rates and Markov Switching models," Borsa Istanbul Review, Research and Business Development Department, Borsa Istanbul, vol. 13(3), pages 53-63, September.
    15. Jesús Otero & Theodore Panagiotidis & Georgios Papapanagiotou, 2021. "Testing for exuberance in house prices using data sampled at different frequencies," Working Paper series 21-13, Rimini Centre for Economic Analysis.
    16. Verena Monschang & Bernd Wilfling, 2021. "Sup-ADF-style bubble-detection methods under test," Empirical Economics, Springer, vol. 61(1), pages 145-172, July.
    17. Catherine Araujo Bonjean & Catherine Simonet, 2016. "Are grain markets in Niger driven by speculation?," Oxford Economic Papers, Oxford University Press, vol. 68(3), pages 714-735.
    18. Peter C. B. Phillips & Shuping Shi & Jun Yu, 2015. "Testing For Multiple Bubbles: Historical Episodes Of Exuberance And Collapse In The S&P 500," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 56(4), pages 1043-1078, November.
    19. Shuo YANG, 2025. "Identifying Multiple Bubbles and Time-Varying Contagion Effect between Iron Ore and China's Stock Markets: A New Recursive Evolving Test," Journal for Economic Forecasting, Institute for Economic Forecasting, vol. 0(1), pages 81-100, April.
    20. Gutierrez, Luciano, 2011. "Bootstrapping asset price bubbles," Economic Modelling, Elsevier, vol. 28(6), pages 2488-2493.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    JEL classification:

    • G10 - Financial Economics - - General Financial Markets - - - General (includes Measurement and Data)
    • G17 - Financial Economics - - General Financial Markets - - - Financial Forecasting and Simulation

    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:hit:hcfrwp:g-1-30. 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: Digital Resources Section, Hitotsubashi University Library (email available below). General contact details of provider: https://edirc.repec.org/data/hchitjp.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.