Abstract

In this paper, we tested our methodology on the stocks of four representative companies: Apple, Comcast Corporation (CMCST), Google, and Qualcomm. We compared their performance to several stocks using the hidden Markov model (HMM) and forecasts using mean absolute percentage error (MAPE). For simplicity, we considered four main features in these stocks: open, close, high, and low prices. When using the HMM for forecasting, the HMM has the best prediction for the daily low stock price and daily high stock price of Apple and CMCST, respectively. By calculating the MAPE for the four data sets of Google, the close price has the largest prediction error, while the open price has the smallest prediction error. The HMM has the largest prediction error and the smallest prediction error for Qualcomm’s daily low stock price and daily high stock price, respectively.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call