989
Views
27
CrossRef citations to date
0
Altmetric
Original Articles

A dynamic analysis of stock markets using a hidden Markov model

&
Pages 1682-1700 | Received 29 Oct 2010, Accepted 03 Apr 2013, Published online: 23 Apr 2013
 

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.

Acknowledgements

Both authors express their gratitude to the editor of Journal of Applied Statistics and to the two anonymous reviewers for their useful suggestions. De Angelis gratefully acknowledges funding from the Italian Ministry of Education, University and Research (MIUR) through PRIN project ‘Multivariate statistical models for risk assessment’.

Notes

In our HMM approach, we do not directly estimate conditional variances which are restricted to be equal across states. Instead, we obtain measures of the variability within each latent state. We are thus able to achieve two goals: (i) avoiding the estimation of conditional variances allows the model to cluster observations into latent states on the basis of the conditional means and first-order correlation structure of the data, thus attaining a reliable and easily interpretable classification of the stock market return distribution; (ii) restricting the conditional variances enables us to decrease the number of parameters to be estimated. It must be noted that the model we adopt allows us to easily discriminate between periods characterized by low and high-volatility (see Section 4.2).

Markov chain order identification in HMM remains an unresolved issue (see [[Chapter 15]Citation18 for a recent discussion]), and there are several concerns about the robustness and reliability of information criteria. We also agree with the concerns about a uncritical use of these indicators. However, we believe that they can contribute to current procedures, for which the choice of latent states is somewhat arbitrary.

The posterior probabilities are estimated using the properties of the forward and backwards probabilities. In particular, the posterior probability for the latent state j is given by f(y t =j| z)>f(z, y t =j)/f(z) (see Citation34 for further details).

For weekly frequency of the data, the simple net returns z t we use in this paper are approximately equal to the (continuously compounded) log-returns obtained as z t =log(p t )−log(p t−1) and which are sometimes used in financial studies. Therefore, the results are not affected by this choice.

The Wald statistic tests the significance of sets of parameters. The general expression for the Wald test statistic is given by W=(C′ϕ)′(C′Σ C)−1(C′ϕ), where the tested set of linear constraints is C′ϕ=0 and Σ is the estimated variance–covariance matrix. This test is distributed as a chi-square where the number of degrees of freedom equals the number of contraints. In our analysis, we test the equality of conditional means between states and, thus, we constrain the means of six latent states to be equal to the one of the remaining latent state. Hence, the number of degrees of freedom of both Wald and ANOVA tests reported in the text is 6. The (one-way) ANOVA test for comparing conditional means is performed using latent state membership as factor.

However, p 54 is the highest transition probability with respect to the other transition probabilities p j4 for j≠4 (see ), and latent state 5 is the last visited regime before the switch to latent state 4 in both cases in the analysed data set.

The results obtained for the expected (monetary) value criterion are equivalent to the ones achieved using another traditional criterion in decision theory, namely the expected opportunity loss which suggests the strategy associated to the lowest weighted expected value for the regret.

The criterion adopted by Investor B provides the best outcomes using the forecasts given by the estimated T-GARCH model.

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 61.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 549.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.