Comparative Analysis of Stock Price Prediction Accuracy: A Machine Learning Approach with ARIMA, LSTM, And Random Forest Models

Brahmanapalli Kalyan, S Parameshwara Reddy, Dr. Krovvidi Krishna Kumari, Dr. Manish Jain
{"title":"Comparative Analysis of Stock Price Prediction Accuracy: A Machine Learning Approach with ARIMA, LSTM, And Random Forest Models","authors":"Brahmanapalli Kalyan, S Parameshwara Reddy, Dr. Krovvidi Krishna Kumari, Dr. Manish Jain","doi":"10.47392/irjaeh.2024.0157","DOIUrl":null,"url":null,"abstract":"This research investigates the comparative effectiveness of three distinct predictive models – ARIMA (Auto Regressive Integrated Moving Average), LSTM (Long Short-Term Memory), and Random Forest – in forecasting stock prices. Focusing on Tata Motors and Infosys stocks, historical data spanning a significant timeframe is collected using the finance library. These models are trained on a diverse set of features including open, close, high, and low prices to capture the underlying market dynamics. The evaluation of model performance is centred on their ability to forecast stock prices over varying prediction horizons. Metrics such as Mean Absolute Error (MAE), Mean Squared Error (MSE), and Root Mean Squared Error (RMSE) are utilized to quantify the accuracy and reliability of the predictions. Through rigorous analysis, this study provides insights into the strengths and limitations of each model, offering valuable guidance to investors and market analysts. The findings underscore the significance of selecting appropriate predictive models in financial forecasting and contribute to advancing the understanding of predictive modelling techniques in stock market analysis. Additionally, the research delves into the implications of long-term dependencies in stock price forecasting, shedding light on the challenges and opportunities inherent in predicting market trends over extended periods.","PeriodicalId":517766,"journal":{"name":"International Research Journal on Advanced Engineering Hub (IRJAEH)","volume":"139 27","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-05-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Research Journal on Advanced Engineering Hub (IRJAEH)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.47392/irjaeh.2024.0157","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

This research investigates the comparative effectiveness of three distinct predictive models – ARIMA (Auto Regressive Integrated Moving Average), LSTM (Long Short-Term Memory), and Random Forest – in forecasting stock prices. Focusing on Tata Motors and Infosys stocks, historical data spanning a significant timeframe is collected using the finance library. These models are trained on a diverse set of features including open, close, high, and low prices to capture the underlying market dynamics. The evaluation of model performance is centred on their ability to forecast stock prices over varying prediction horizons. Metrics such as Mean Absolute Error (MAE), Mean Squared Error (MSE), and Root Mean Squared Error (RMSE) are utilized to quantify the accuracy and reliability of the predictions. Through rigorous analysis, this study provides insights into the strengths and limitations of each model, offering valuable guidance to investors and market analysts. The findings underscore the significance of selecting appropriate predictive models in financial forecasting and contribute to advancing the understanding of predictive modelling techniques in stock market analysis. Additionally, the research delves into the implications of long-term dependencies in stock price forecasting, shedding light on the challenges and opportunities inherent in predicting market trends over extended periods.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
股价预测准确性的比较分析:使用 ARIMA、LSTM 和随机森林模型的机器学习方法
本研究调查了 ARIMA(自回归整合移动平均)、LSTM(长短期记忆)和随机森林这三种不同预测模型在预测股票价格方面的比较效果。以塔塔汽车公司和 Infosys 公司股票为重点,使用金融库收集了时间跨度较大的历史数据。这些模型根据开盘价、收盘价、最高价和最低价等不同特征进行训练,以捕捉潜在的市场动态。对模型性能的评估主要集中在其在不同预测范围内预测股票价格的能力上。利用平均绝对误差 (MAE)、平均平方误差 (MSE) 和均方根误差 (RMSE) 等指标来量化预测的准确性和可靠性。通过严格的分析,本研究深入揭示了每个模型的优势和局限性,为投资者和市场分析师提供了宝贵的指导。研究结果强调了在金融预测中选择适当预测模型的重要性,并有助于推进对股市分析中预测建模技术的理解。此外,研究还深入探讨了股价预测中长期依赖性的影响,揭示了预测长期市场趋势所固有的挑战和机遇。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Dynamic Load Balancing in Cloud Computing: Improving Efficiency and Performance in Real Life Applications Optimizing Renewable Energy Integration in Green Building Projects: Addressing Barriers and Enhancing Energy Performance Drone Technology in Construction Industry Addressing Workplace Harassment and Discrimination: Strategies for Creating Inclusive Environments in Construction Engineering Smart Plant Health Control System
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1