{"title":"The role of hybrid models in financial decision-making: Forecasting stock prices with advanced algorithms","authors":"Xiaoyi Zhu","doi":"10.1016/j.eij.2025.100610","DOIUrl":null,"url":null,"abstract":"<div><div>Stock price volatility is influenced by many factors, which are significant obstacles to achieving accurate stock price forecasting in the financial market. This study introduces a novel hybrid model to tackle the abovementioned issues by integrating various algorithms, including bidirectional long short-term memory and random forest. Additionally, it incorporates ensemble empirical mode decomposition, sample entropy clustering, and sea-horse optimizer as part of its methodology. Exponential moving average 30, relative strength index 14, simple moving average 30, moving average convergence divergence, on-balance-volume, and daily open price, high price, low price, close price, and trading volume of the S&P 500 index between 01/04/2013 and 12/29/2022 were utilized as the dataset. To reduce the complexity of the time series decomposition and clustering methods were employed. Then, the high sequences underwent processing using the optimized random forest algorithm, and the remaining sequences were subjected to processing utilizing optimized bidirectional long short-term memory. This approach allowed the model to generalize effectively across a variety of global indices, as demonstrated by its high prediction accuracy (coefficient of determination (<span><math><msup><mrow><mi>R</mi></mrow><mn>2</mn></msup></math></span>) values exceeding 0.98 for the Dow Jones, CSI, Nikkei, and DAX indices). Additionally, robustness testing was conducted by introducing incremental noise levels to simulate real-market conditions, which demonstrated that the model remains highly accurate even at the highest noise level. In comparison to other methods, the proposed model demonstrated superior performance on the S&P 500, with an R<sup>2</sup> of 0.99 and low error metrics. This model’s adaptability and reliability in diverse and volatile market conditions are emphasized by this robust framework, which renders it a potent financial forecasting tool.</div></div>","PeriodicalId":56010,"journal":{"name":"Egyptian Informatics Journal","volume":"29 ","pages":"Article 100610"},"PeriodicalIF":5.0000,"publicationDate":"2025-01-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Egyptian Informatics Journal","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1110866525000027","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Stock price volatility is influenced by many factors, which are significant obstacles to achieving accurate stock price forecasting in the financial market. This study introduces a novel hybrid model to tackle the abovementioned issues by integrating various algorithms, including bidirectional long short-term memory and random forest. Additionally, it incorporates ensemble empirical mode decomposition, sample entropy clustering, and sea-horse optimizer as part of its methodology. Exponential moving average 30, relative strength index 14, simple moving average 30, moving average convergence divergence, on-balance-volume, and daily open price, high price, low price, close price, and trading volume of the S&P 500 index between 01/04/2013 and 12/29/2022 were utilized as the dataset. To reduce the complexity of the time series decomposition and clustering methods were employed. Then, the high sequences underwent processing using the optimized random forest algorithm, and the remaining sequences were subjected to processing utilizing optimized bidirectional long short-term memory. This approach allowed the model to generalize effectively across a variety of global indices, as demonstrated by its high prediction accuracy (coefficient of determination () values exceeding 0.98 for the Dow Jones, CSI, Nikkei, and DAX indices). Additionally, robustness testing was conducted by introducing incremental noise levels to simulate real-market conditions, which demonstrated that the model remains highly accurate even at the highest noise level. In comparison to other methods, the proposed model demonstrated superior performance on the S&P 500, with an R2 of 0.99 and low error metrics. This model’s adaptability and reliability in diverse and volatile market conditions are emphasized by this robust framework, which renders it a potent financial forecasting tool.
期刊介绍:
The Egyptian Informatics Journal is published by the Faculty of Computers and Artificial Intelligence, Cairo University. This Journal provides a forum for the state-of-the-art research and development in the fields of computing, including computer sciences, information technologies, information systems, operations research and decision support. Innovative and not-previously-published work in subjects covered by the Journal is encouraged to be submitted, whether from academic, research or commercial sources.