IDEAS home Printed from https://ideas.repec.org/a/taf/japsta/v40y2013i8p1682-1700.html
   My bibliography  Save this article

A dynamic analysis of stock markets using a hidden Markov model

Author

Listed:
  • Luca De Angelis
  • Leonard J. Paas

Abstract

This paper proposes a framework to detect financial crises, pinpoint the end of a crisis in stock markets and support investment decision-making processes. This proposal is based on a hidden Markov model (HMM) and allows for a specific focus on conditional mean returns. By analysing weekly changes in the US stock market indexes over a period of 20 years, this study obtains an accurate detection of stable and turmoil periods and a probabilistic measure of switching between different stock market conditions. The results contribute to the discussion of the capabilities of Markov-switching models of analysing stock market behaviour. In particular, we find evidence that HMM outperforms threshold GARCH model with Student- t innovations both in-sample and out-of-sample, giving financial operators some appealing investment strategies.

Suggested Citation

  • Luca De Angelis & Leonard J. Paas, 2013. "A dynamic analysis of stock markets using a hidden Markov model," Journal of Applied Statistics, Taylor & Francis Journals, vol. 40(8), pages 1682-1700, August.
  • Handle: RePEc:taf:japsta:v:40:y:2013:i:8:p:1682-1700
    DOI: 10.1080/02664763.2013.793302
    as

    Download full text from publisher

    File URL: http://hdl.handle.net/10.1080/02664763.2013.793302
    Download Restriction: Access to full text is restricted to subscribers.

    File URL: https://libkey.io/10.1080/02664763.2013.793302?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. Bulla, Jan & Bulla, Ingo, 2006. "Stylized facts of financial time series and hidden semi-Markov models," Computational Statistics & Data Analysis, Elsevier, vol. 51(4), pages 2192-2209, December.
    2. Luc Bauwens & Arie Preminger & Jeroen V. K. Rombouts, 2010. "Theory and inference for a Markov switching GARCH model," Econometrics Journal, Royal Economic Society, vol. 13(2), pages 218-244, July.
    3. Maheu, John M & McCurdy, Thomas H, 2000. "Identifying Bull and Bear Markets in Stock Returns," Journal of Business & Economic Statistics, American Statistical Association, vol. 18(1), pages 100-112, January.
    4. Franc Klaassen, 2002. "Improving GARCH volatility forecasts with regime-switching GARCH," Empirical Economics, Springer, vol. 27(2), pages 363-394.
    5. Gelman, Sergey & Wilfling, Bernd, 2009. "Markov-switching in target stocks during takeover bids," Journal of Empirical Finance, Elsevier, vol. 16(5), pages 745-758, December.
    6. Markus Haas, 2004. "A New Approach to Markov-Switching GARCH Models," Journal of Financial Econometrics, Oxford University Press, vol. 2(4), pages 493-530.
    7. Hamilton, James D, 1989. "A New Approach to the Economic Analysis of Nonstationary Time Series and the Business Cycle," Econometrica, Econometric Society, vol. 57(2), pages 357-384, March.
    8. Marcucci Juri, 2005. "Forecasting Stock Market Volatility with Regime-Switching GARCH Models," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 9(4), pages 1-55, December.
    9. Rossi, Alessandro & Gallo, Giampiero M., 2006. "Volatility estimation via hidden Markov models," Journal of Empirical Finance, Elsevier, vol. 13(2), pages 203-230, March.
    10. Fruhwirth-Schnatter, Sylvia & Kaufmann, Sylvia, 2008. "Model-Based Clustering of Multiple Time Series," Journal of Business & Economic Statistics, American Statistical Association, vol. 26, pages 78-89, January.
    11. Ming-Yuan Leon Li & Chun-Nan Chen, 2010. "Examining the interrelation dynamics between option and stock markets using the Markov-switching vector error correction model," Journal of Applied Statistics, Taylor & Francis Journals, vol. 37(7), pages 1173-1191.
    12. Tobias Rydén & Timo Teräsvirta & Stefan Åsbrink, 1998. "Stylized facts of daily return series and the hidden Markov model," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 13(3), pages 217-244.
    13. Bulla, Jan, 2006. "Application of Hidden Markov Models and Hidden Semi-Markov Models to Financial Time Series," MPRA Paper 7675, University Library of Munich, Germany.
    14. Langrock, Roland & MacDonald, Iain L. & Zucchini, Walter, 2012. "Some nonstandard stochastic volatility models and their estimation using structured hidden Markov models," Journal of Empirical Finance, Elsevier, vol. 19(1), pages 147-161.
    15. Sofia B. Ramos & Jeroen K. Vermunt & José G. Dias, 2011. "When markets fall down: are emerging markets all the same?," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 16(4), pages 324-338, October.
    16. Zakoian, Jean-Michel, 1994. "Threshold heteroskedastic models," Journal of Economic Dynamics and Control, Elsevier, vol. 18(5), pages 931-955, September.
    17. Francesco Bartolucci & Giovanni De Luca, 2001. "Maximum likelihood estimation of a latent variable time‐series model," Applied Stochastic Models in Business and Industry, John Wiley & Sons, vol. 17(1), pages 5-17, January.
    18. Bartolucci, F. & De Luca, G., 2003. "Likelihood-based inference for asymmetric stochastic volatility models," Computational Statistics & Data Analysis, Elsevier, vol. 42(3), pages 445-449, March.
    19. Paas, L.J. & Vermunt, J.K. & Bijmolt, T.H.A., 2007. "Discrete-time discrete-state latent Markov modelling for assessing and predicting household acquisitions of financial products," Other publications TiSEM 5781ab33-6687-4ad5-b57a-3, Tilburg University, School of Economics and Management.
    20. Leonard J. Paas & Jeroen K. Vermunt & Tammo H. A. Bijmolt, 2007. "Discrete time, discrete state latent Markov modelling for assessing and predicting household acquisitions of financial products," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 170(4), pages 955-974, October.
    21. Hamilton, James D. & Susmel, Raul, 1994. "Autoregressive conditional heteroskedasticity and changes in regime," Journal of Econometrics, Elsevier, vol. 64(1-2), pages 307-333.
    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. Anton Gerunov, 2023. "Stock Returns Under Different Market Regimes: An Application of Markov Switching Models to 24 European Indices," Economic Studies journal, Bulgarian Academy of Sciences - Economic Research Institute, issue 1, pages 18-35.
    2. Beatrice Foroni & Luca Merlo & Lea Petrella, 2023. "Expectile hidden Markov regression models for analyzing cryptocurrency returns," Papers 2301.09722, arXiv.org, revised Jan 2024.
    3. De Angelis Luca & Viroli Cinzia, 2017. "A Markov-switching regression model with non-Gaussian innovations: estimation and testing," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 21(2), pages 1-22, April.
    4. Leonard Paas, 2014. "Comments on: Latent Markov models: a review of a general framework for the analysis of longitudinal data with covariates," TEST: An Official Journal of the Spanish Society of Statistics and Operations Research, Springer;Sociedad de Estadística e Investigación Operativa, vol. 23(3), pages 473-477, September.
    5. Fulvia Pennoni & Francesco Bartolucci & Gianfranco Forte & Ferdinando Ametrano, 2022. "Exploring the dependencies among main cryptocurrency log‐returns: A hidden Markov model," Economic Notes, Banca Monte dei Paschi di Siena SpA, vol. 51(1), February.
    6. Ichkitidze, Yuri, 2018. "Temporary price trends in the stock market with rational agents," The Quarterly Review of Economics and Finance, Elsevier, vol. 68(C), pages 103-117.
    7. Beatrice Foroni & Luca Merlo & Lea Petrella, 2023. "Quantile and expectile copula-based hidden Markov regression models for the analysis of the cryptocurrency market," Papers 2307.06400, arXiv.org.
    8. Dias, José G. & Vermunt, Jeroen K. & Ramos, Sofia, 2015. "Clustering financial time series: New insights from an extended hidden Markov model," European Journal of Operational Research, Elsevier, vol. 243(3), pages 852-864.
    9. Valeriy Zakamulin, 2023. "Not all bull and bear markets are alike: insights from a five-state hidden semi-Markov model," Risk Management, Palgrave Macmillan, vol. 25(1), pages 1-25, March.
    10. Giner, Javier & Zakamulin, Valeriy, 2023. "A regime-switching model of stock returns with momentum and mean reversion," Economic Modelling, Elsevier, vol. 122(C).
    11. Tsukasa Hokimoto & Kunio Shimizu, 2014. "A non-homogeneous hidden Markov model for predicting the distribution of sea surface elevation," Journal of Applied Statistics, Taylor & Francis Journals, vol. 41(2), pages 294-319, February.
    12. Danisman, Ozgur & Uzunoglu Kocer, Umay, 2021. "Hidden Markov models with binary dependence," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 567(C).

    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. Haas Markus, 2010. "Skew-Normal Mixture and Markov-Switching GARCH Processes," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 14(4), pages 1-56, September.
    2. Carlos A. Abanto‐Valle & Roland Langrock & Ming‐Hui Chen & Michel V. Cardoso, 2017. "Maximum likelihood estimation for stochastic volatility in mean models with heavy‐tailed distributions," Applied Stochastic Models in Business and Industry, John Wiley & Sons, vol. 33(4), pages 394-408, August.
    3. De Angelis, L & Paas, L.J., 2009. "The dynamic analysis and prediction of stock markets through the latent Markov model," Serie Research Memoranda 0053, VU University Amsterdam, Faculty of Economics, Business Administration and Econometrics.
    4. Liu, Xinyi & Margaritis, Dimitris & Wang, Peiming, 2012. "Stock market volatility and equity returns: Evidence from a two-state Markov-switching model with regressors," Journal of Empirical Finance, Elsevier, vol. 19(4), pages 483-496.
    5. Ataurima Arellano, Miguel & Rodríguez, Gabriel, 2020. "Empirical modeling of high-income and emerging stock and Forex market return volatility using Markov-switching GARCH models," The North American Journal of Economics and Finance, Elsevier, vol. 52(C).
    6. Shen, Zhiwei & Ritter, Matthias, 2016. "Forecasting volatility of wind power production," Applied Energy, Elsevier, vol. 176(C), pages 295-308.
    7. Halkos, George & Tzirivis, Apostolos, 2018. "Effective energy commodities’ risk management: Econometric modeling of price volatility," MPRA Paper 90781, University Library of Munich, Germany.
    8. Gerrit Reher & Bernd Wilfling, 2016. "A nesting framework for Markov-switching GARCH modelling with an application to the German stock market," Quantitative Finance, Taylor & Francis Journals, vol. 16(3), pages 411-426, March.
    9. Ardia, David & Bluteau, Keven & Boudt, Kris & Catania, Leopoldo, 2018. "Forecasting risk with Markov-switching GARCH models:A large-scale performance study," International Journal of Forecasting, Elsevier, vol. 34(4), pages 733-747.
    10. Naeem, Muhammad & Tiwari, Aviral Kumar & Mubashra, Sana & Shahbaz, Muhammad, 2019. "Modeling volatility of precious metals markets by using regime-switching GARCH models," Resources Policy, Elsevier, vol. 64(C).
    11. Richard D. F. Harris & Murat Mazibas, 2022. "A component Markov regime‐switching autoregressive conditional range model," Bulletin of Economic Research, Wiley Blackwell, vol. 74(2), pages 650-683, April.
    12. Billio, Monica & Casarin, Roberto & Osuntuyi, Anthony, 2016. "Efficient Gibbs sampling for Markov switching GARCH models," Computational Statistics & Data Analysis, Elsevier, vol. 100(C), pages 37-57.
    13. Masaru Chiba, 2023. "Robust and efficient specification tests in Markov-switching autoregressive models," Statistical Inference for Stochastic Processes, Springer, vol. 26(1), pages 99-137, April.
    14. Gao, Guangyuan & Ho, Kin-Yip & Shi, Yanlin, 2020. "Long memory or regime switching in volatility? Evidence from high-frequency returns on the U.S. stock indices," Pacific-Basin Finance Journal, Elsevier, vol. 61(C).
    15. Carol Alexander & Emese Lazar, 2009. "Modelling Regime‐Specific Stock Price Volatility," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 71(6), pages 761-797, December.
    16. Fulvia Pennoni & Francesco Bartolucci & Gianfranco Forte & Ferdinando Ametrano, 2022. "Exploring the dependencies among main cryptocurrency log‐returns: A hidden Markov model," Economic Notes, Banca Monte dei Paschi di Siena SpA, vol. 51(1), February.
    17. Thomas Chuffart, 2015. "Selection Criteria in Regime Switching Conditional Volatility Models," Econometrics, MDPI, vol. 3(2), pages 1-28, May.
    18. AUGUSTYNIAK, Maciej & BAUWENS, Luc & DUFAYS, Arnaud, 2016. "A New Approach to Volatility Modeling : The High-Dimensional Markov Model," LIDAM Discussion Papers CORE 2016042, Université catholique de Louvain, Center for Operations Research and Econometrics (CORE).
    19. Su, EnDer, 2017. "Stock index hedging using a trend and volatility regime-switching model involving hedging cost," International Review of Economics & Finance, Elsevier, vol. 47(C), pages 233-254.
    20. Shi, Yanlin & Feng, Lingbing, 2016. "A discussion on the innovation distribution of the Markov regime-switching GARCH model," Economic Modelling, Elsevier, vol. 53(C), pages 278-288.

    More about this item

    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:taf:japsta:v:40:y:2013:i:8:p:1682-1700. 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: Chris Longhurst (email available below). General contact details of provider: http://www.tandfonline.com/CJAS20 .

    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.