<?xml version="1.1" encoding="utf-8"?>
<article xsi:noNamespaceSchemaLocation="http://jats.nlm.nih.gov/publishing/1.1/xsd/JATS-journalpublishing1-mathml3.xsd" dtd-version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><front><journal-meta><journal-id journal-id-type="publisher-id">PBES</journal-id><journal-title-group><journal-title>Proceedings of Business and Economic Studies</journal-title></journal-title-group><issn>2209-2641</issn><eissn>2209-265X</eissn><publisher><publisher-name>Bio-Byword Scientific Publishing Pty. Ltd.</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.26689/pbes.v5i6.4453</article-id><article-categories><subj-group subj-group-type="heading"><subject>Article</subject></subj-group></article-categories><title>Application of Hidden Markov Models in Stock Forecasting</title><url>https://artdesignp.com/journal/PBES/5/6/10.26689/pbes.v5i6.4453</url><author>YuMenghan,WangPanji,WangTong</author><pub-date pub-type="publication-year"><year>2022</year></pub-date><volume>5</volume><issue>6</issue><history><date date-type="pub"><published-time>2022-12-07</published-time></date></history><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.</abstract><keywords/></article-meta></front><body/><back><ref-list><ref id="B1" content-type="article"><label>1</label><element-citation publication-type="journal"><p>Edmans A, 2011, Does the Stock Market Fully Value Intangibles? Employee Satisfaction and Equity Prices. Journal of Financial Economics, 101(3): 621–640. https://doi.org/10.1016/j.jfineco.2011.03.021</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B2" content-type="article"><label>2</label><element-citation publication-type="journal"><p>Soros G, 2008, The New Paradigm for Financial Markets: The Credit Crisis of 2008 and What It Means, PublicAffairs, New York.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B3" content-type="article"><label>3</label><element-citation publication-type="journal"><p>Lux T, 1998, The Socio-Economic Dynamics of Speculative Markets: Interacting Agents, Chaos, and the Fat Tails of Return Distributions. Journal of Economic Behavior &amp; Organization, 33(2): 143–165. https://doi.org/10.1016/s0167-2681(97)00088-7</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B4" content-type="article"><label>4</label><element-citation publication-type="journal"><p>Kothari SP, 2001, Capital Markets Research in Accounting. Journal of Accounting and Economics, 31(1–3): 105–231. https://doi.org/10.1016/s0165-4101(01)00030-1</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B5" content-type="article"><label>5</label><element-citation publication-type="journal"><p>Nerlove M, 1968, Factors Affecting Differences among Rates of Return on Investments in Individual Common Stocks. The Review of Economics and Statistics, 50(3): 312. https://doi.org/10.2307/1937926</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B6" content-type="article"><label>6</label><element-citation publication-type="journal"><p>Yoon B-J, 2009, Hidden Markov Models and their Applications in Biological Sequence Analysis. Current Genomics, 10(6): 402–415. https://doi.org/10.2174/138920209789177575</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B7" content-type="article"><label>7</label><element-citation publication-type="journal"><p>Rabiner LR, 1989, A Tutorial on Hidden Markov Models and Selected Applications in Speech Recognition. Proceedings of the IEEE, 77(2): 257–286. https://doi.org/10.1109/5.18626</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B8" content-type="article"><label>8</label><element-citation publication-type="journal"><p>Choo KH, Tong JC, Zhang L, 2004, Recent Applications of Hidden Markov Models in Computational Biology. Genomics, Proteomics &amp; Bioinformatics, 2(2): 84–96. https://doi.org/10.1016/S1672-0229(04)02014-5</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B9" content-type="article"><label>9</label><element-citation publication-type="journal"><p>Yang L, Widjaja BK, Prasad R, 1995, Application of Hidden Markov Models for Signature Verification. Pattern Recognition, 28(2): 161–170. https://doi.org/10.1016/0031-3203(94)00092-Z</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B10" content-type="article"><label>10</label><element-citation publication-type="journal"><p>Hassan MR, Nath B, 2005, Proceedings of the 5th International Conference on Intelligent Systems Design and Applications (ISDA‘05), September 8–10, 2005: Stock Market Forecasting Using Hidden Markov Model: A New Approach. IEEE, Warsaw, Poland, 192–196. https://doi.org/10.1109/ISDA.2005.85</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B11" content-type="article"><label>11</label><element-citation publication-type="journal"><p>Zhang M, Jiang X, Fang Z, et al., 2019, High-Order Hidden Markov Model for Trend Prediction in Financial Time Series. Physica A: Statistical Mechanics and its Applications, 517: 1–12. https://doi.org/10.1016/j.physa.2018.10.053</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B12" content-type="article"><label>12</label><element-citation publication-type="journal"><p>Hassan MR, 2009, A Combination of Hidden Markov Model and Fuzzy Model for Stock Market Forecasting. Neurocomputing, 72(16–18): 3439–3446. https://doi.org/10.1016/j.neucom.2008.09.029</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B13" content-type="article"><label>13</label><element-citation publication-type="journal"><p>Gupta A, Dhingra B, 2012, Proceedings of the 2012 Students Conference on Engineering and Systems, March 16–18, 2012: Stock Market Prediction Using Hidden Markov Models. IEEE, Allahabad, India. https://doi.org/10.1109/SCES.2012.6199099</p><pub-id pub-id-type="doi"/></element-citation></ref></ref-list></back></article>
