Forecasting Stock Prices Using Multi-Macroeconomic Regressors Based on the Facebook Prophet Model

Authors

  • Qixuan Huang

DOI:

https://doi.org/10.54691/bcpbm.v25i.1762

Keywords:

Facebook Prophet model, macroeconomics, predicting stock prices

Abstract

This paper utilizes four Machine Learning (ML) models to forecast the stock prices of Meta Platforms, including Facebook Prophet with five regressors, Facebook Prophet with no regressor, NeuralProphet, and the ARIMA model. Facebook Prophet serves as the primary model for forecasting in this study. Five macroeconomic regressors are applied to the Facebook Prophet to increase the precision of Meta closing price prediction. The experiment also incorporates the NeuralProphet model and the ARIMA model to predict future Meta stock closing prices. NeuralProphet uses Neural Networks to model time-series data. A comparative study of the four models is made as part of the result analysis. No regressors are added to NeuralProphet or ARIMA for the purpose of comparative analysis. The experimental results show that the Facebook Prophet model with five regressors is the superior model for predicting stock prices compared to the NeuralProphet model and the ARIMA model. The forecasting done by Facebook Prophet with multi-regressors scores a mean absolute error of 14.08259, the lowest of the four models. It also scores the lowest for three other measures of errors. The results indicate that using five regressors related to the macroeconomy can achieve high forecasting accuracy.

Downloads

Download data is not yet available.

References

Aditya Satrio, C. B., Darmawan, W., Nadia, B. U., & Hanafiah, N. (2021). Time series analysis and forecasting of coronavirus disease in Indonesia using Arima model and prophet. Procedia Computer Science, 179, 524–532. https://doi.org/10.1016/j.procs.2021.01.036.

Ampomah, E. K., Qin, Z., & Nyame, G. (2020). Evaluation of tree-based ensemble machine learning models in predicting stock price direction of movement. Information, 11(6), 332. https://doi.org/10.3390/info11060332.

Ariyo, A. A., Adewumi, A. O., & Ayo, C. K. (2014). Stock price prediction using the Arima model. 2014 UKSim-AMSS 16th International Conference on Computer Modelling and Simulation. https://doi.org/10.1109/uksim.2014.67.

Baker, S. R., Bloom, N., & Davis, S. J. (2016). Measuring economic policy uncertainty*. The Quarterly Journal of Economics, 131(4), 1593–1636. https://doi.org/10.1093/qje/qjw024.

Boungou, W., & Yatié, A. (2022). The impact of the Ukraine–russia war on world stock market returns. Economics Letters, 215, 110516. https://doi.org/10.1016/j.econlet.2022.110516.

Box, G. and Jenkins, G. (1970) Time Series Analysis: Forecasting and Control. Holden.

Day, San Francisco.

Caldara, D., & Iacoviello, M. (2022). Measuring geopolitical risk. American Economic Review, 112(4), 1194–1225. https://doi.org/10.1257/aer.20191823.

Christy Jackson, J., Prassanna, J., Abdul Quadir, M., & Sivakumar, V. (2021). Stock market analysis and prediction using time series analysis. Materials Today: Proceedings. https://doi.org/10.1016/j.matpr.2020.11.364.

Dash, S., Chakraborty, C., Giri, S. K., & Pani, S. K. (2021). Intelligent computing on time-series data analysis and prediction of COVID-19 pandemics. Pattern Recognition Letters, 151, 69–75. https://doi.org/10.1016/j.patrec.2021.07.027.

Jana, R. K., Ghosh, I., & Wallin, M. W. (2022). Taming energy and electronic waste generation in bitcoin mining: Insights from Facebook Prophet and Deep Neural Network. Technological Forecasting and Social Change, 178, 121584. https://doi.org/10.1016/j.techfore.2022.121584.

Jin, L., Zheng, B., Ma, J., Zhang, J., Xiong, L., Jiang, X., & Li, J. (2022). Empirical study and model simulation of Global Stock Market Dynamics during COVID-19. Chaos, Solitons & Fractals, 159, 112138. https://doi.org/10.1016/j.chaos.2022.112138.

Liu, H., & Long, Z. (2020). An improved deep learning model for predicting stock market price time series. Digital Signal Processing, 102, 102741. https://doi.org/10.1016/j.dsp.2020.102741.

Mehtab, S., Sen, J., & Dutta, A. (2021). Stock price prediction using machine learning and LSTM-based deep learning models. Communications in Computer and Information Science, 1336, 88–106. https://doi.org/10.1007/978-981-16-0419-5_8.

Nikou, M., Mansourfar, G., & Bagherzadeh, J. (2019). Stock price prediction using deep learning algorithm and its comparison with machine learning algorithms. Intelligent Systems in Accounting, Finance and Management, 26(4), 164–174. https://doi.org/10.1002/isaf.1459.

Parray, I. R., Khurana, S. S., Kumar, M., & Altalbe, A. A. (2020). Time series data analysis of stock price movement using Machine Learning Techniques. Soft Computing, 24(21), 16509–16517. https://doi.org/10.1007/s00500-020-04957-x.

Sahay, A., & Amudha, J. (2020). Integration of prophet model and convolution neural network on Wikipedia trend data. Journal of Computational and Theoretical Nanoscience, 17(1), 260–266. https://doi.org/10.1166/jctn.2020.8660.

Taylor, S. J., & Letham, B. (2017). Forecasting at scale. https://doi.org/10.7287/peerj.preprints.3190v1

Tsai, C. F., & Wang, S. P. (2009). Stock Price Forecasting by Hybrid Machine Learning Techniques. Proceedings of the International MultiConference of Engineers and Computer Scientists, 1. https://doi.org/http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.149.970&rep=rep1&type=pdf.

Zhang, J., Li, L., & Chen, W. (2020). Predicting stock price using two-stage machine learning techniques. Computational Economics, 57(4), 1237–1261. https://doi.org/10.1007/s10614-020-10013-5.

Downloads

Published

2022-08-30

How to Cite

Huang, Q. (2022). Forecasting Stock Prices Using Multi-Macroeconomic Regressors Based on the Facebook Prophet Model . BCP Business & Management, 25, 231-242. https://doi.org/10.54691/bcpbm.v25i.1762