IDEAS home Printed from https://ideas.repec.org/a/dbs/ijabfi/v2y2022i1p31-41id96.html
   My bibliography  Save this article

Predicting Long Term Prices of Nifty Index using Linear Regression and ARIMA: A comparative study

Author

Listed:
  • Mohit Beniwal
  • Archana Singh
  • Nand Kumar

Abstract

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.

Suggested Citation

  • Mohit Beniwal & Archana Singh & Nand Kumar, 2022. "Predicting Long Term Prices of Nifty Index using Linear Regression and ARIMA: A comparative study," International Journal of Accounting, Business and Finance, Indian Accounting Association, Patna Branch, vol. 2(1), pages 31-41.
  • Handle: RePEc:dbs:ijabfi:v:2:y:2022:i:1:p:31-41:id:96
    as

    Download full text from publisher

    File URL: https://www.ijabf.in/index.php/IJABF/article/view/96
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Fama, Eugene F & French, Kenneth R, 1988. "Permanent and Temporary Components of Stock Prices," Journal of Political Economy, University of Chicago Press, vol. 96(2), pages 246-273, April.
    2. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Journal of Economic Perspectives, American Economic Association, vol. 17(1), pages 59-82, Winter.
    3. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    4. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    5. Timmermann, Allan & Granger, Clive W. J., 2004. "Efficient market hypothesis and forecasting," International Journal of Forecasting, Elsevier, vol. 20(1), pages 15-27.
    6. repec:pri:cepsud:91malkiel is not listed on IDEAS
    7. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    8. Poterba, James M. & Summers, Lawrence H., 1988. "Mean reversion in stock prices : Evidence and Implications," Journal of Financial Economics, Elsevier, vol. 22(1), pages 27-59, October.
    9. Jegadeesh, Narasimhan & Titman, Sheridan, 1993. "Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency," Journal of Finance, American Finance Association, vol. 48(1), pages 65-91, March.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

      Most related items

      These are the items that most often cite the same works as this one and are cited by the same works as this one.
      1. Stéphane Goutte & David Guerreiro & Bilel Sanhaji & Sophie Saglio & Julien Chevallier, 2019. "International Financial Markets," Post-Print halshs-02183053, HAL.
      2. Majumder, Debasish, 2013. "Towards an efficient stock market: Empirical evidence from the Indian market," Journal of Policy Modeling, Elsevier, vol. 35(4), pages 572-587.
      3. Taufiq Choudhry & Ranadeva Jayasekera, 2015. "Level of efficiency in the UK equity market: empirical study of the effects of the global financial crisis," Review of Quantitative Finance and Accounting, Springer, vol. 44(2), pages 213-242, February.
      4. Paul Handro & Bogdan Dima, 2024. "Analyzing Financial Markets Efficiency: Insights from a Bibliometric and Content Review," Journal of Financial Studies, Institute of Financial Studies, vol. 16(9), pages 119-175, May.
      5. Rompotis, Gerasimos G., 2011. "Testing weak-form efficiency of exchange traded funds market," MPRA Paper 36020, University Library of Munich, Germany.
      6. Kamal, Mona, 2014. "Studying the Validity of the Efficient Market Hypothesis (EMH) in the Egyptian Exchange (EGX) after the 25th of January Revolution," MPRA Paper 54708, University Library of Munich, Germany.
      7. Rahman, Oriana & Semenov, Andrei, 2025. "Subjective probabilities under behavioral heuristics," International Review of Economics & Finance, Elsevier, vol. 98(C).
      8. Ashok Chanabasangouda Patil & Shailesh Rastogi, 2019. "Time-Varying Price–Volume Relationship and Adaptive Market Efficiency: A Survey of the Empirical Literature," JRFM, MDPI, vol. 12(2), pages 1-18, June.
      9. Paresh Kumar Narayan & Russell Smyth, 2005. "Are OECD stock prices characterized by a random walk? Evidence from sequential trend break and panel data models," Applied Financial Economics, Taylor & Francis Journals, vol. 15(8), pages 547-556.
      10. Azubuike Samuel Agbam, 2015. "Tests of Random Walk and Efficient Market Hypothesis in Developing Economies: Evidence from Nigerian Capital Market," International Journal of Management Sciences, Research Academy of Social Sciences, vol. 5(1), pages 1-53.
      11. Stefanescu, Razvan & Dumitriu, Ramona, 2016. "Particularitǎţi ale evoluţiei variabilelor financiare [Some particularities of the financial variables evolution]," MPRA Paper 73481, University Library of Munich, Germany, revised 02 Sep 2016.
      12. Cristi Spulbar & Ramona Birau & Lucian Florin Spulbar, 2021. "A Critical Survey on Efficient Market Hypothesis (EMH), Adaptive Market Hypothesis (AMH) and Fractal Markets Hypothesis (FMH) Considering Their Implication on Stock Markets Behavior," Ovidius University Annals, Economic Sciences Series, Ovidius University of Constantza, Faculty of Economic Sciences, vol. 0(2), pages 1161-1165, December.
      13. Park, Cheol-Ho & Irwin, Scott H., 2004. "The Profitability Of Technical Trading Rules In Us Futures Markets: A Data Snooping Free Test," 2004 Conference, April 19-20, 2004, St. Louis, Missouri 19011, NCR-134 Conference on Applied Commodity Price Analysis, Forecasting, and Market Risk Management.
      14. Fayssal Jamhamed & Franck Martin & Fabien Rondeau & Josué Thélissaint & Stéphane Tufféry, 2024. "Regime-Specific Dynamics and Informational Efficiency in Cryptomarkets: Evidence from Gaussian Mixture Models," Economics Working Paper Archive (University of Rennes & University of Caen) 2024-13, Center for Research in Economics and Management (CREM), University of Rennes, University of Caen and CNRS.
      15. Brice Corgnet & Cary Deck & Mark DeSantis & David Porter, 2022. "Forecasting Skills in Experimental Markets: Illusion or Reality?," Management Science, INFORMS, vol. 68(7), pages 5216-5232, July.
      16. Pernagallo, Giuseppe & Torrisi, Benedetto, 2020. "Blindfolded monkeys or financial analysts: Who is worth your money? New evidence on informational inefficiencies in the U.S. stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 539(C).
      17. Basak, Suryoday & Kar, Saibal & Saha, Snehanshu & Khaidem, Luckyson & Dey, Sudeepa Roy, 2019. "Predicting the direction of stock market prices using tree-based classifiers," The North American Journal of Economics and Finance, Elsevier, vol. 47(C), pages 552-567.
      18. Felicia Ramona Birau, 2011. "An Analysis Of Weak-Form Efficiency On The Bucharest Stock Exchange," Annals of University of Craiova - Economic Sciences Series, University of Craiova, Faculty of Economics and Business Administration, vol. 3(39), pages 194-205.
      19. Roland Rothenstein, 2018. "Quantification of market efficiency based on informational-entropy," Papers 1812.02371, arXiv.org.
      20. Gabriel Frahm, 2015. "A theoretical foundation of portfolio resampling," Theory and Decision, Springer, vol. 79(1), pages 107-132, July.

      Corrections

      All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:dbs:ijabfi:v:2:y:2022:i:1:p:31-41:id:96. See general information about how to correct material in RePEc.

      If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

      If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

      If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

      For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Indian Accounting Association Patna Branch (email available below). General contact details of provider: https://www.ijabf.in/index.php/IJABF/ .

      Please note that corrections may take a couple of weeks to filter through the various RePEc services.

      IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.