基于隐马尔可夫模型的股票价格预测
Stock Price Prediction Based on Hidden Markov Model
DOI: 10.12677/aam.2024.134150, PDF,    科研立项经费支持
作者: 张 政, 李俊刚, 李 鑫, 王 然:北方工业大学理学院,北京
关键词: HMMK均值聚类股价预测HMM K-Means Clustering Stock Price Prediction
摘要: 本文构建隐马尔可夫模型预测比亚迪公司股票收盘价,采用K均值聚类法和AIC、BIC准则确定隐状态个数,运用EM算法进行模型参数估计,并将MSE、MAE和R2作为评价指标评估准确性,结果显示基于模型预测结果较为准确稳定。研究结果表明HMM模型能捕捉市场因素、公司财务状况和行业趋势对价格的影响,为投资者和分析师提供深入市场洞察。本研究提供了有效的股票预测模型,同时探索了HMM模型在股票价格预测中的应用,为金融时间序列预测方法的改进和发展提供新思路和方法。
Abstract: In this paper, a hidden Markov model is constructed to predict the closing price of BYD Company’s stock, the number of hidden states is determined by K-means clustering method, AIC and BIC criteria, and the model parameters are estimated by EM algorithm. MSE, MAE and R2 are used as evaluation indicators to evaluate the accuracy. The results show that the prediction results based on the model are more accurate and stable. The results show that the HMM model can capture the impact of market factors, company financial conditions and industry trends on prices, providing investors and analysts with in-depth market insights. This study provides an effective stock prediction model, and explores the application of HMM model in stock price prediction, which provides new ideas and methods for the improvement and development of financial time series prediction methods.
文章引用:张政, 李俊刚, 李鑫, 王然. 基于隐马尔可夫模型的股票价格预测[J]. 应用数学进展, 2024, 13(4): 1599-1606. https://doi.org/10.12677/aam.2024.134150

参考文献

[1] 方诚铭. 基于市盈率与剩余收益的比亚迪估值分析[J]. 全国流通经济, 2023(1): 92-95.
[2] 李方圆, 张涛. 基于HMM-XGBoost的股价预测[J]. 桂林航天工业学院学报, 2021, 26(4): 484-488.
[3] 冷寒雨, 王胜烽, 肖井华. 基于EM算法对报警时间序列的分析预测[J]. 中国高新科技, 2022(12): 98-101.
[4] 富瑶, 王立柱. 基于移动平均线的股票买入时机算法[J]. 牡丹江师范学院学报(自然科学版), 2022(1): 6-8 35.
[5] 王森, 刘琛, 邢帅杰. K-Means聚类算法研究综述[J]. 华东交通大学学报, 2022, 39(5): 119-126.
[6] 余文利, 廖建平, 马文龙. 一种新的基于隐马尔可夫模型的股票价格时间序列预测方法[J]. 计算机应用与软件, 2010, 27(6): 186-190.