ARIMA and Facebook Prophet Model in Google Stock Price Prediction
Download PDF

Keywords

ARIMA model
Facebook Prophet model
Stock price prediction
Financial market
Time series

DOI

10.26689/pbes.v5i5.4386

Submitted : 2022-09-21
Accepted : 2022-10-06
Published : 2022-10-21

Abstract

We use the Autoregressive Integrated Moving Average (ARIMA) model and Facebook Prophet model to predict the closing stock price of Google during the COVID-19 pandemic as well as compare the accuracy of these two models’ predictions. We first examine the stationary of the dataset and use ARIMA(0,1,1) to make predictions about the stock price during the pandemic, then we train the Prophet model using the stock price before January 1, 2021, and predict the stock price after January 1, 2021, to present. We also make a comparison of the prediction graphs of the two models. The empirical results show that the ARIMA model has a better performance in predicting Google’s stock price during the pandemic.

References

Statista Research Department, 2022, Alphabet Inc. – Statistics and Facts, Statista, viewed September 15, 2022, https://www.statista.com/topics/6042/alphabet-inc/#dossierKeyfigures

Stevenson S, 2007, A Comparison of the Forecasting Ability of ARIMA Models. Journal of Property Investment & Finance, 25(3): 223–240. https://www.emerald.com/insight/content/doi/10.1108/IJHM A-04-2014-0010/full/html

Jadevicius A, Huston S, 2015, ARIMA Modelling of Lithuanian House Price Index. International Journal of Housing Markets and Analysis, 8(1): 135–147. https://www.emerald.com/insight/content/ doi/10.1108/IJHMA-04-2014-0010/full/html

Medina I, Montaner D, Tarraga J, et al., 2006, Prophet, a Web-Based Tool for Class Prediction Using Microarray Data. OUP Academic. Oxford University Press, https://academic.oup.com/bioinformatics/ article/23/3/390/236076

Fang W-X, Lan P-C, Lin W-R, et al., 2019, Combine Facebook Prophet and LSTM with BPNN Forecasting Financial Markets: The Morgan Taiwan Index. 2019 International Symposium on Intelligent Signal Processing and Communication Systems (ISPACS), http://doi.org/10. 1109/ISPACS48206.2019.8986377

Kaninde S, Mahajan M, Janghale A, et al., 2022, Stock Price Prediction Using Facebook Prophet. International Conference on Automation, Computing and Communication 2022 (ICACC-2022), ITM Web Conf, 44: 03060. https://doi.org/10.1051/itmconf/20224403060

Stellwagen E, Tashman L, 2013, Arima: The Models of Box and Jenkins. Foresight: The International Journal of Applied Forecasting, 2013(30): 28–33. https://ideas.repec.org/a/for/ijafaa/y2013i29p28-33.html

Hyndman RJ, Athanasopoulos G, 2018, 8.5 Non-seasonal ARIMA models, in Forecasting: Principles and practice (2nd Edition), OTexts, Melbourne, Australia. https://otexts.com/fpp2/non-seasonal-arima.html

Fattah J, Ezzine L, Aman Z, et al., 2018, Forecasting of Demand Using ARIMA Model. International Journal of Engineering Business Management, 2018: 10. https://doi.org/10.1177/1847979018808673

Forecasting at Scale, n.d., Prophet, viewed September 18, 2022, https://facebook.github.io/prophet