Stock Price Prediction of “Google” based on Machine Learning

Authors

  • Luna Peng

DOI:

https://doi.org/10.54691/bcpbm.v34i.3111

Keywords:

Price Prediction, Price Return, Linear Regression, Random Forest Regression.

Abstract

By 2022, many countries have declared the epidemic's end, both an opportunity and a challenge for many investors. More and more investors are manipulating prices to influence the stock market. So investors want to predict the price of stocks to make suitable investments. The author wants to start with the platform YouTube to study the price trend of this stock and make predictions to analyze whether there are traces of the factors affecting the stock price based on linear regression and random forest regression models. The author first backtested the price of this stock and analyzed the data according to the highest and lowest day. Then, the author used the method of Linear Regression and Random Forest Regression to predict the price. The error of the Linear Regression prediction results was within 5%, within the normal range, but the Random Forest Regression 5 days prediction's accuracy is much lower (65%). It shows that the stock price prediction model--Linear Regression is more credible and is worthy of reference for investors.

Downloads

Download data is not yet available.

References

Rami, C. (2022, September 14). Could google trade lower? exploring the bear case arguments. Retrieved September 17, 2022, from https://seekingalpha.com/article/4541035-could-google-trade-lower-exploring-bear-case

Ali, R. (2020, October 15). The Why Behind Financial Forecasting. Retrieved September 16, 2022, from https://www.netsuite.com/portal/resource/articles/financial-management/importance-financial-forecasting.shtml

King, T. (2020). Detailed in Linear Regression model. Retrieved September 17, 2022, from https://blog.csdn.net/iqdutao/article/details/109402570

Krause, R. (2022, September 06). Is Google a buy or sell as investors mull growth beyond digital ad business? Retrieved September 9, 2022, from https://www.investors.com/news/technology/google-stock-buy-now/

Abhi. (2021, October 12). Google stock price (all time). Retrieved September 9, 2022, from https://www.kaggle.com/datasets/akpmpr/google-stock-price-all-time?resource=download

Y. Lin, “Research on Business Development Strategy of Application Software Store,” IEEE Xplore, Oct-2020. [Online]. Available: https://ieeexplore.ieee.org/document/9607174.

Dai, L. (2021). Random Forest in Machine Learning. Retrieved September 17, 2022, from https://blog.csdn.net/lindaicoding/article/details/119388694

Brownlee, J. (2020, August 14). Linear regression for machine learning. Retrieved September 9, 2022, from https://machinelearningmastery.com/linear-regression-for-machine-learning/

Amolambkar. (2021, January 16). Stock price prediction using linear regression. Retrieved September 9, 2022, from https://www.kaggle.com/code/amolambkar/stock-price-prediction-using-linear-regression

Vanshikhaangrish. (2022, March 20). Netflix stock prediction- Random Forest & Linear R. Retrieved September 9, 2022, from https://www.kaggle.com/code/vanshikhaangrish/netflix-stock-prediction-random-forest-linear-r/data

Support Vector Machines. (n.d.). Retrieved September 9, 2022, from https://scikit-learn.org/stable/modules/svm.html#classification

Anderson, O. D., & Perryman, M. R. (1981). Time Series analysis. Amsterdam: North-Holland Pub.

Beaver, W. H. (2002). Perspectives on recent Capital Market Research. The Accounting Review, 77(2), 453-474. doi:10.2308/accr.2002.77.2.453

Peixeiro, M. (2022, September 06). The Complete Guide to Time Series Analysis and forecasting. Retrieved September 9, 2022, from https://towardsdatascience.com/the-complete-guide-to-time-series-analysis-and-forecasting-70d476bfe775

Time Series Forecasting methods. (2022, May 04). Retrieved September 9, 2022, from https://www.influxdata.com/time-series-forecasting-methods/

Downloads

Published

2022-12-14

How to Cite

Peng, L. (2022). Stock Price Prediction of “Google” based on Machine Learning. BCP Business & Management, 34, 912-918. https://doi.org/10.54691/bcpbm.v34i.3111