Next Article in Journal
Combining Alphas via Bounded Regression
Next Article in Special Issue
Production Flexibility and Hedging
Previous Article in Journal
Risk Classification Efficiency and the Insurance Market Regulation
Previous Article in Special Issue
Options with Extreme Strikes
Article Menu

Export Article

Open AccessArticle
Risks 2015, 3(4), 455-473;

Hidden Markov Model for Stock Selection

Faculty of Mathematics and Statistics, Youngstown State University, 1 University Plaza, Youngstown, OH 44555, USA
Quantitative Researcher, Ned Davis Research Group, 600 Bird Bay Drive West, Venice, FL 34285, USA
Author to whom correspondence should be addressed.
Academic Editor: Emiliano A. Valdez
Received: 16 June 2015 / Accepted: 23 October 2015 / Published: 29 October 2015
(This article belongs to the Special Issue Recent Advances in Mathematical Modeling of the Financial Markets)
PDF [320 KB, uploaded 29 October 2015]


The hidden Markov model (HMM) is typically used to predict the hidden regimes of observation data. Therefore, this model finds applications in many different areas, such as speech recognition systems, computational molecular biology and financial market predictions. In this paper, we use HMM for stock selection. We first use HMM to make monthly regime predictions for the four macroeconomic variables: inflation (consumer price index (CPI)), industrial production index (INDPRO), stock market index (S&P 500) and market volatility (VIX). At the end of each month, we calibrate HMM’s parameters for each of these economic variables and predict its regimes for the next month. We then look back into historical data to find the time periods for which the four variables had similar regimes with the forecasted regimes. Within those similar periods, we analyze all of the S&P 500 stocks to identify which stock characteristics have been well rewarded during the time periods and assign scores and corresponding weights for each of the stock characteristics. A composite score of each stock is calculated based on the scores and weights of its features. Based on this algorithm, we choose the 50 top ranking stocks to buy. We compare the performances of the portfolio with the benchmark index, S&P 500. With an initial investment of $100 in December 1999, over 15 years, in December 2014, our portfolio had an average gain per annum of 14.9% versus 2.3% for the S&P 500. View Full-Text
Keywords: hidden Markov model; economics; observations; regimes; prediction; stocks; scores; ranking; MLE hidden Markov model; economics; observations; regimes; prediction; stocks; scores; ranking; MLE

Figure 1

This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Share & Cite This Article

MDPI and ACS Style

Nguyen, N.; Nguyen, D. Hidden Markov Model for Stock Selection. Risks 2015, 3, 455-473.

Show more citation formats Show less citations formats

Related Articles

Article Metrics

Article Access Statistics



[Return to top]
Risks EISSN 2227-9091 Published by MDPI AG, Basel, Switzerland RSS E-Mail Table of Contents Alert
Back to Top