Predicting Long Term Prices of Nifty Index using Linear Regression and ARIMA: A comparative study
DOI:
https://doi.org/10.55429/ijabf.v2i1.96Keywords:
Linear Regression, ARIMA, Nifty, Prediction, ForecastingAbstract
Stocks are traded continuously in the financial market, creating huge time series data. Stock market time series is very volatile and highly complex to model. There are many methods to forecast a time series. This study predicts and compares the performance of two statical methods, linear regression, and ARIMA also referred to as the Box Jenkins method, which stands for Autoregressive Integrated Moving Average, is a robust time series forecasting technique used frequently by researchers. Simple linear regression is generally assumed unsuitable for non-linear stock time series data. However, a literature gap exists in comparing linear regression and the ARIMA method for forecasting stock prices. Hence, this study compares the ARIMA and linear regression methods to forecast stock prices using daily and weekly NIFTY data. Further, this study also experiments using a different length of time series, namely 1-year and 2-year data. The result shows that ARIMA outperformed regression on daily and weekly data when the test for 1 year of data. When 2-year data is taken, linear regression outperformed ARIMA on both daily and weekly data. Hence, the linear regression model and ARIMA are sensitive to input parameters such as the number of days for training and forecasting. An automated method or algorithm could improve the robustness of the model. Further, as stock price data is non-linear, machine learning algorithms such as neural networks and support vector regression can be more suitable for prediction.
Metrics
References
Bhuriya, D., Kaushal, G., Sharma, A., & Singh, U. (2017). Stock market predication using a linear regression. International Conference of Electronics, Communication and Aerospace Technology (ICECA), 510–513. DOI: https://doi.org/10.1109/ICECA.2017.8212716
Box, G. E., Gwilym M. Jenkins, & G. Reinsel. (1970). Time series analysis: forecasting and control Holden-day San Francisco. BoxTime Series Analysis: Forecasting and Control Holden Day.
Du, Y. (2018). Application and analysis of forecasting stock price index based on combination of ARIMA model and BP neural network. Chinese Control and Decision Conference (CCDC). IEEE, 2854–2857. DOI: https://doi.org/10.1109/CCDC.2018.8407611
Fama, E. F. (1970). Efficient Capital Markets: A Review of Theory and Empirical Work. The Journal of Finance, 25(2), 383–417. http://www.jstor.orgURL:http://www.jstor.org/stable/2325486Accessed:30/04/200806:47 DOI: https://doi.org/10.1111/j.1540-6261.1970.tb00518.x
Fama, E. F. (1995). Random Walks in Stock Market Prices. The Journal of Finance, 75–80. DOI: https://doi.org/10.2469/faj.v51.n1.1861
Fama, E. F., & French, K. R. (1988). Permanent and temporary components of stock prices. Journal of Political Economy, 96(2), 246–273. DOI: https://doi.org/10.1086/261535
Graham, B., & David, L. Dodd. (1965). The Intelligent Investor. New York: Harper & Row.
Jegadeesh, N., & Titman, S. (1993). Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency. The Journal of Finance, 48(1), 65–91. https://doi.org/10.1111/j.1540-6261.1993.tb04702.x DOI: https://doi.org/10.1111/j.1540-6261.1993.tb04702.x
Khan, S., & Alghulaiakh, H. (2020). ARIMA Model for Accurate Time Series Stocks Forecasting. IJACSA) International Journal of Advanced Computer Science and Applications, 11(7). www.ijacsa.thesai.org DOI: https://doi.org/10.14569/IJACSA.2020.0110765
Lo, A. W., & MacKinlay, A. C. (1998). Stock market prices do not follow random walks: Evidence from a simple specification test. The Review of Financial Studies, 1(1), 41–61. DOI: https://doi.org/10.1093/rfs/1.1.41
Malkiel, B. G. (1973). A Random Walk Down Wall Street. Norton & Co, New York.
Malkiel, B. G. (2003). The Efficient Market Hypothesis and Its Critics. DOI: https://doi.org/10.1257/089533003321164958
Poterba, J. M., & Summers, L. H. (1988). Mean reversion in stock prices: Evidence and implications. Journal of Financial Economics, 22(1), 27–59. DOI: https://doi.org/10.1016/0304-405X(88)90021-9
Roy, S. S., Mittal, D., Basu, A., & Abraham, A. (2015). Stock market forecasting using LASSO linear regression model. Advances in Intelligent Systems and Computing, 334, 371–381. https://doi.org/10.1007/978-3-319-13572-4_31 DOI: https://doi.org/10.1007/978-3-319-13572-4_31
Rubio, L., & Alba, K. (2022). Forecasting Selected Colombian Shares Using a Hybrid ARIMA-SVR Model. Mathematics, 10(13). https://doi.org/10.3390/math10132181 DOI: https://doi.org/10.3390/math10132181
Timmermann, A., & Granger, C. W. J. (2004). Efficient market hypothesis and forecasting. International Journal of Forecasting, 20(1), 15–27. https://doi.org/10.1016/S0169-2070(03)00012-8 DOI: https://doi.org/10.1016/S0169-2070(03)00012-8
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2023 Mohit Beniwal, Dr. Archana Singh, Prof. Nand Kumar

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
This is an open-access journal. Your article will be published open-access, but you will not have to pay an APC (article processing charge) - publication is free. Your article will be published with a Creative Commons CC BY-NC 4.0 user licence, which outlines how readers can reuse your work. The licence terms may be found at https://creativecommons.org/licenses/by-nc/4.0/.
Accepted 2023-08-03
Published 2024-05-21