Research on Predicting Amazon Stock Price Based on Linear Regression and Decision Tree Algorithms

Authors

  • Gengyuan He

DOI:

https://doi.org/10.54691/bcpbm.v32i.2958

Keywords:

Amazon Stock Prediction, Linear Regression, Decision Tree.

Abstract

Stock price prediction is really popular in finance. A good stock price prediction can benefit investors. In this study, the stock price of Amazon was predicted using decision tree and linear regression. Besides this study compared the accuracy and prediction results of two algorithms. The prediction models use the previous stock price and volume as the predictor. This study finds that the Decision Tree algorithm fit a better model than the Linear Regression algorithm. It indicates that the Decision Tree algorithm fits a better model than the Linear Regression algorithm. Moreover, this study forecasts the Amazon's stock price for the next 60 days based on the two models. This research helps investors choose whether and when to buy Amazon stock.

Downloads

Download data is not yet available.

References

Patel, J., Shah, S.R., Thakkar, P., & Kotecha, K. Predicting stock market index using fusion of machine learning techniques. Expert Syst. Appl., 2015, 42, 2162-2172.

Zhang, G.P., Patuwo, B.E., & Hu, M.Y. FORECASTING WITH ARTIFICIAL NEURAL NETWORKS: THE STATE OF THE ART. International Journal of Forecasting, 1998, 14, 35-62.

Vapnik, V. N. An overview of statistical learning theory. IEEE Transactions on Neural Networks, 1999, 10, 988–999.

Kim, K. Financial time series forecasting using support vector machines. Neurocomputing, 2003, 55, 307-319.

Kavitha, S., Varuna, S., & Ramya, R. A comparative analysis on linear regression and support vector regression, 2016.

Hassan, M.R., Nath, B., & Kirley, M. A fusion model of HMM, ANN and GA for stock market forecasting. Expert Syst. Appl., 2007, 33, 171-180.

Ou, P., & Wang, H. Prediction of Stock Market Index Movement by Ten Data Mining Techniques. Mathematical Models and Methods in Applied Sciences, 2009, 3, 28.

Tsai, C., Lin, Y., Yen, D.C., & Chen, Y. Predicting stock returns by classifier ensembles. Appl. Soft Comput, 2011, 11, 2452-2459.

Chen, A., Leung, M.T., & Daouk, H. Application of Neural Networks to an Emerging Financial Market: Forecasting and Trading the Taiwan Stock Index. S&P Global Market Intelligence Research Paper Series, 2003.

Liu, F., & Wang, J. Fluctuation prediction of stock market index by Legendre neural network with random time strength function. Neurocomputing, 2012, 83, 12-21.

Downloads

Published

2022-11-22

How to Cite

He, G. (2022). Research on Predicting Amazon Stock Price Based on Linear Regression and Decision Tree Algorithms. BCP Business & Management, 32, 391-397. https://doi.org/10.54691/bcpbm.v32i.2958