基于HMM-DNGARCH-X模型的股价预测研究
Stock Price Forecasting Research Based on HMM-DNGARCH-X Model
摘要: 股票预测对于投资者和金融市场具有重要意义,而同时刻画股票数据蕴含的非线性、非对称特性并解释外部冲击和复杂动态及状态变化的影响,对于传统GARCH模型来说存在局限性。因此为解决上述问题,本文结合非线性势GARCH (NPGARCH)和隐马尔可夫(HMM)两模型优势构建基于隐马尔可夫的带有外生变量的双非GARCH (HMM-DNGARCH-X)模型对股票收益率进行预测。首先根据HMM将股票价格波动划分为正常、异常状态,通过Baum-Welch算法估计模型参数,并采用Viterbi算法对隐状态序列进行识别;随后,将不同状态对应的收益率带入到HMM-DNGARCH-X模型进行预测分析。通过模拟研究,对模型的有效性进行了验证。基于上证国债指数的实证分析结果表明,与NPGARCH、GJR-GARCH、DNGARCH等模型相比HMM-DNGARCH-X模型的拟合损失均较小,并且预测效果显著优于其他模型。因此,所述HMM-DNGARCH-X模型能够较好地预测股票价格波动情况,在金融投资事件中具有广泛的应用潜力。
Abstract: Stock prediction is vital for investors and financial markets. Traditional GARCH models have limitations in capturing nonlinearity, asymmetry, and external shocks. To address this, we developed the HMM-DNGARCH-X model by combining the strengths of both models. Initially, HMM classifies stock price movements into normal and abnormal states, estimates parameters with the Baum-Welch algorithm, and identifies hidden states using the Viterbi algorithm. Returns from different states are then input into the HMM-DNGARCH-X model for prediction. Simulations validate the model’s effectiveness. Empirical analysis on the Shanghai Treasury Bond Index shows that HMM-DNGARCH-X has lower fitting losses and better predictive performance than NPGARCH, GJR-GARCH, and DNGARCH models. Thus, HMM-DNGARCH-X demonstrates significant potential for predicting stock price volatility in financial investments.
文章引用:李月国, 李贺宇. 基于HMM-DNGARCH-X模型的股价预测研究[J]. 应用数学进展, 2024, 13(11): 4761-4771. https://doi.org/10.12677/aam.2024.1311458

参考文献

[1] Bollerslev, T. (1986) Generalized Autoregressive Conditional Heteroskedasticity. Journal of Econometrics, 31, 307-327. [Google Scholar] [CrossRef
[2] Hamadeh, T. and Zakoïan, J. (2011) Asymptotic Properties of LS and QML Estimators for a Class of Nonlinear GARCH Processes. Journal of Statistical Planning and Inference, 141, 488-507. [Google Scholar] [CrossRef
[3] Ossandón, S. and Bahamonde, N. (2013) A New Nonlinear Formulation for GARCH Models. Comptes Rendu. Mathématique, 351, 235-239. [Google Scholar] [CrossRef
[4] Habib, A. and Hasan, M.M. (2017) Business Strategy, Overvalued Equities, and Stock Price Crash Risk. Research in International Business and Finance, 39, 389-405. [Google Scholar] [CrossRef
[5] Xing, D., Li, H., Li, J. and Long, C. (2021) Forecasting Price of Financial Market Crash via a New Nonlinear Potential GARCH Model. Physica A: Statistical Mechanics and Its Applications, 566, Article ID: 125649. [Google Scholar] [CrossRef
[6] Black, F. (1976) Studies of Stock Market Volatility Changes. Proceedings of the American Statistical Association, Business & Economic Statistics Section, 23, 177-181.
[7] Nelson, D.B. (1991) Conditional Heteroskedasticity in Asset Returns: A New Approach. Econometrica, 59, 347-370. [Google Scholar] [CrossRef
[8] Engle, R.F., Lilien, D.M. and Robins, R.P. (1987) Estimating Time Varying Risk Premia in the Term Structure: The Arch-M Model. Econometrica, 55, 391-408. [Google Scholar] [CrossRef
[9] Glosten, L.R., Jagannathan, R. and Runkle, D.E. (1993) On the Relation between the Expected Value and the Volatility of the Nominal Excess Return on Stocks. The Journal of Finance, 48, 1779-1801. [Google Scholar] [CrossRef
[10] Engle, R.F. and Ng, V.K. (1993) Measuring and Testing the Impact of News on Volatility. The Journal of Finance, 48, 1749-1778. [Google Scholar] [CrossRef
[11] 李世君, 唐国强, 杜诗雪. 基于Skew-t-GJRGARCH(1, 1)模型的5G板块风险度量研究[J]. 广西师范大学学报(自然科学版), 2020, 38(5): 56-63.
[12] Engle, R. (2002) New Frontiers for Arch Models. Journal of Applied Econometrics, 17, 425-446. [Google Scholar] [CrossRef
[13] 李述山, 朱得康. 新型GARCH模型的研究与应用[J]. 统计学与应用, 2020, 9(2): 172-181.
[14] Yao, Y., Cao, Y., Zhai, J., Liu, J., Xiang, M. and Wang, L. (2020) Latent State Recognition by an Enhanced Hidden Markov Model. Expert Systems with Applications, 161, Article ID: 113722. [Google Scholar] [CrossRef
[15] 景楠, 吕闪闪, 江涛. 基于HMM和GARCH模型的中国期货市场波动性研究[J]. 管理科学, 2019, 32(5): 152-162.
[16] Baum, L.E. and Petrie, T. (1966) Statistical Inference for Probabilistic Functions of Finite State Markov Chains. The Annals of Mathematical Statistics, 37, 1554-1563. [Google Scholar] [CrossRef
[17] Baum, L.E., Petrie, T., Soules, G. and Weiss, N. (1970) A Maximization Technique Occurring in the Statistical Analysis of Probabilistic Functions of Markov Chains. The Annals of Mathematical Statistics, 41, 164-171. [Google Scholar] [CrossRef
[18] 容兰兰, 陈爽, 冯茹. 基于HMM-GARCH模型的VaR方法及其在农业股市的应用[J]. 应用数学进展, 2017, 6(6): 768-780.