Abstract
The stock market is a sector that is very tempting to various kinds of people, and almost every alternate households invest their money to get better returns. Data plays a vital role in these predictions, and new tools like machine learning techniques provide additional support, which gives a range of data for forecasting values. Nowadays, different models are available to predict the outcomes of the stock market. In this paper, two models are used and analysed for predicting the stocks: regression and FB prophet. We have used a dataset of Infosys stock for over five years, and with this data, forecasting is done in the upcoming months. We have referred to various models for their working and outcomes and have chosen regression and FB prophet models for predicting stock prices and analysing their effectiveness using error % and Mean Absolute Percentage Error (MAPE) analysis. Thus, the outcomes show us that FB prophet is more accurate than the regression model in which the regression shows the error of about 14–16%, and in Fb prophet, the values were about 3–6%.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Battineni G, Chintalapudi N, Amenta F, Forecasting of COVID-19 epidemic size in four high hitting nations (USA, Brazil, India and Russia) by Fb-prophet machine learning model. Applied Computing and Informatics Emerald Publishing Limited, e-ISSN: 2210-8327, p-ISSN: 2634-1964. https://doi.org/10.1108/ACI-09-2020-0059
Gaur S (2020) Int J Eng Appl Sci Technol 5(2):463–467. ISSN No. 2455-2143
Seber GAF, Lee AJ, Linear regression analysis. Wiley Publication
Yahoo Finance homepage. https://finance.yahoo.com/quote/INFY/history?period1=1583020800&period2=1585526400&interval=1d&filter=history&frequency=1d&includeAdjustedClose=true
Chikkakrishna NK, Hardik C, Deepika K, Sparsha N (2015) Short-term traffic prediction using Sarima and fb-prophet. IEEE Trans Hum Mach Syst 45(4)
Guo C, Ge Q, Jiang H, Yao G, Hua Q, Maximum power demand prediction using Fbprophet with adaptive Kalman filtering. IEEE Access. https://doi.org/10.1109/ACCESS.2020.2968101
Samal KKR, Babu KS, Das SK, Acharaya A, Time series based air pollution forecasting using Sarima and prophet model. In: ITCC 2019: proceedings of the 2019 international conference on information technology and computer communications
Yu T, Yu G, Li PY, Wang L, Citation impact prediction for scientific papers using stepwise regression analysis. Scientometrics. https://doi.org/10.1007/s11192-014-1279-6
Benos N, Zotou S (2014) Education and economic growth: a meta-regression analysis. World Dev 64:669–689, 0305-750X
Hong T, Gui M, Baran ME, Willis HL, Modeling and forecasting hourly electric load by multiple linear regression with interaction. In: IEEE conference. https://doi.org/10.1109/pes.2010.5589959
Joseph PJ, Vaswani K, Thazhuthaveetil MJ (2006) Construction and use of linear regression models for processor performance analysis. In: The twelfth international symposium on high-performance computer architecture, pp 99–108
Xu SY, Berkely CU (2014) Stock price forecasting using information from Yahoo Finance and Google trend. UC Brekley
Andi HK (2021) An accurate Bitcoin price prediction using logistic regression with LSTM machine learning model. J Soft Comput Paradigm 3(3):205–217
Isobe T, Feigelson ED, Akritas MG, Babu GJ (1990) Linear regression in astronomy. I. Astrophys J 364:104–113
Naseem I, Togneri R, Bennamoun M (2010) Linear regression for face recognition. IEEE Trans Pattern Anal Mach Intell 32(11)
Taylor SJ, Letham B, Forecasting at scale. PeerJ Projects
Jha BK, Pande S, Time series forecasting model for supermarket sales using FB-prophet. In: Proceedings of the fifth international conference on computing methodologies and communication (ICCMC 2021)
Chikkakrishna NK, Hardik C, Deepika K, Sparsha N (2019) Short-term traffic prediction using Sarima and FbPROPHET. In: 2019 IEEE 16th India council international conference (INDICON), pp 1–4. https://doi.org/10.1109/INDICON47234.2019.9028937
Lounis M (2021) Predicting active, death and recovery rates of COVID-19 in Algeria using facebook’ prophet model. Preprints 2021, 2021030019. https://doi.org/10.20944/preprints202103.0019.v1
Mohan S, Mullapudi S, Sammeta S, Vijayvergia P, Anastasiu DC, Stock price prediction using news sentiment analysis. In: 2019 IEEE fifth international conference on big data computing service and applications (BigDataService)
Cakra YE, Trisedya BD (2015) Stock price prediction using linear regression based on sentiment analysis. In: 2015 international conference on advanced computer science and information systems (ICACSIS), pp 147–154. https://doi.org/10.1109/ICACSIS.2015.7415179
Swamidass P (2000) Mean absolute percentage error (MAPE). In: Encyclopedia of production and manufacturing management. Springer, Boston. https://doi.org/10.1007/1-4020-0612-8_580
Ahangar RG, Yahyazadehfar M, Pournaghshband H (2010) The comparison of methods artificial neural network with linear regression using specific variables for prediction stock price in Tehran stock exchange. Int J Comput Sci Inf Secur (IJCSIS) 7(2)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Paygude, P., Tiwari, A., Goel, B., Kabra, A. (2023). Comparative Analysis of Stock Prices by Regression Analysis and FB Prophet Models. In: Jacob, I.J., Kolandapalayam Shanmugam, S., Izonin, I. (eds) Data Intelligence and Cognitive Informatics. Algorithms for Intelligent Systems. Springer, Singapore. https://doi.org/10.1007/978-981-19-6004-8_24
Download citation
DOI: https://doi.org/10.1007/978-981-19-6004-8_24
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-19-6003-1
Online ISBN: 978-981-19-6004-8
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)