Predicting the Link between Stock Prices and Indices with Machine Learning in R Programming Language

Author:

Cao Mengya1ORCID

Affiliation:

1. Olin Business School, Washington University in St. Louis, St. Louis 63130, MO, USA

Abstract

This paper provides an in-depth analysis machine study of the relationship between stock prices and indices through machine learning algorithms. Stock prices are difficult to predict by a single financial formula because there are too many factors that can affect stock prices. With the development of computer science, the author now uses many computer science techniques to make more accurate predictions of stock prices. In this project, the author uses machine learning in R Studio to predict the prices of 35 stocks traded on the New York Stock Exchange and to study the interaction between the prices of four indices in different countries. Further, it is proposed to find the link between stocks and indices in different countries and then use the predictions to optimize the portfolio of these stocks. To complete this project, the author used Linear Regression, LASSO, Regression Trees, Bagging, Random Forest, and Boosted Trees to perform the analysis. The experimental results show that the MRDL deep multiple regression model proposed in this paper predicts the closing price trend of stocks with a mean square error interval [0.0043, 0.0821]. Additionally, 80% of the proposed DMISV, KDJSV, MACDV, and DKB stock buying and selling strategies have a return greater than 10%. The experimental results validate the effectiveness of the proposed buying and selling strategies and stock price trend prediction methods in this paper. Compared with other algorithms, the accuracy of the algorithm in this study is increased by 15%, and the efficiency of prediction is increased by 25%.

Publisher

Hindawi Limited

Subject

General Mathematics

Cited by 7 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Retracted: Predicting the Link between Stock Prices and Indices with Machine Learning in R Programming Language;Journal of Mathematics;2023-12-20

2. Develop an integrated candlestick technical analysis model using meta-heuristic algorithms;EuroMed Journal of Business;2023-11-21

3. Impact of Price Indexes on Stock Market Prices of Banks in Financial Crises;WSEAS TRANSACTIONS ON BUSINESS AND ECONOMICS;2023-11-03

4. Behavior of Banks’ Stock Market Prices during Long-Term Crises;International Journal of Financial Studies;2023-02-06

5. Stock Recommendation and Trade Assistance;International Journal of Information Technology Project Management;2022-11-04

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3