IDEAS home Printed from https://ideas.repec.org/a/cvt/journl/y2021id686.html

Comparative analysis of the forecasting quality of the classical statistical model and the machine learning model on the data of the Russian stock market

Author

Listed:
  • A. V. Shcherbinina

  • A. V. Alzheev

Abstract

The main objective of this work is to compare the predictive ability of the classical machine learning model — ARIMA, as the most common and well-studied baseline model, and the ML model based on a sequential neural network — in this case, LSTM. The goal is to maximize accuracy and minimize error — selecting the most appropriate model for predicting time series with the highest accuracy. A description is given for these mathematical models. An algorithm is also proposed for forecasting time series using these models, based on the «Rolling window» approach. Practical implementation is implemented using the Python programming environment with the Pandas, Numpy, pmdarima, Keras, Statsmodels libraries. To train the models, we used stock data at the closing price per share of the leading Russian companies: Yandex, VTB, KamAZ, Kiwi, Gazprom, NLMK, Rosneft, Alrosa for the period. The studies carried out demonstrate the predictive superiority of the approach based on neural networks, while the RMSE is 71% less than the same indicator for the ARIMA model, which allows us to conclude that the use of the LSTM model is preferable for this class of problems.

Suggested Citation

  • A. V. Shcherbinina & A. V. Alzheev, 2021. "Comparative analysis of the forecasting quality of the classical statistical model and the machine learning model on the data of the Russian stock market," Scientific notes of the Russian academy of entrepreneurship, JSC “Publishing Agency “Science and Educationâ€, vol. 20(3).
  • Handle: RePEc:cvt:journl:y:2021:id:686
    DOI: 10.24182/2073-6258-2021-20-3-52-63
    as

    Download full text from publisher

    File URL: https://www.scinotes.ru/jour/article/viewFile/686/685
    Download Restriction: no

    File URL: https://libkey.io/10.24182/2073-6258-2021-20-3-52-63?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Armstrong, J. Scott & Collopy, Fred, 1992. "Error measures for generalizing about forecasting methods: Empirical comparisons," International Journal of Forecasting, Elsevier, vol. 8(1), pages 69-80, June.
    Full references (including those not matched with items on IDEAS)

    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. Armstrong, J. Scott & Green, Kesten C. & Graefe, Andreas, 2015. "Golden rule of forecasting: Be conservative," Journal of Business Research, Elsevier, vol. 68(8), pages 1717-1731.
    2. Kumar, V. & Sunder, Sarang & Sharma, Amalesh, 2015. "Leveraging Distribution to Maximize Firm Performance in Emerging Markets," Journal of Retailing, Elsevier, vol. 91(4), pages 627-643.
    3. Hu, Xincheng & Banks, Jonathan & Wu, Linping & Liu, Wei Victor, 2020. "Numerical modeling of a coaxial borehole heat exchanger to exploit geothermal energy from abandoned petroleum wells in Hinton, Alberta," Renewable Energy, Elsevier, vol. 148(C), pages 1110-1123.
    4. Garcia-Ferrer, Antonio & Bujosa-Brun, Marcos, 2000. "Forecasting OECD industrial turning points using unobserved components models with business survey data," International Journal of Forecasting, Elsevier, vol. 16(2), pages 207-227.
    5. Paroissien, Emmanuel, 2020. "Forecasting bulk prices of Bordeaux wines using leading indicators," International Journal of Forecasting, Elsevier, vol. 36(2), pages 292-309.
    6. Barrow, Devon K., 2016. "Forecasting intraday call arrivals using the seasonal moving average method," Journal of Business Research, Elsevier, vol. 69(12), pages 6088-6096.
    7. Fildes, Robert & Goodwin, Paul & Lawrence, Michael & Nikolopoulos, Konstantinos, 2009. "Effective forecasting and judgmental adjustments: an empirical evaluation and strategies for improvement in supply-chain planning," International Journal of Forecasting, Elsevier, vol. 25(1), pages 3-23.
    8. Aliyeva, Xeniya & Memon, Shazim Ali & Nazir, Kashif & Kim, Jong, 2024. "Energy consumption forecasting in PCM-integration buildings considering building and environmental parameters for future climate scenarios," Energy, Elsevier, vol. 310(C).
    9. Kumar, V. & Leone, Robert P. & Gaskins, John N., 1995. "Aggregate and disaggregate sector forecasting using consumer confidence measures," International Journal of Forecasting, Elsevier, vol. 11(3), pages 361-377, September.
    10. Rocha Souza, Leonardo & Jorge Soares, Lacir, 2007. "Electricity rationing and public response," Energy Economics, Elsevier, vol. 29(2), pages 296-311, March.
    11. Bontempi, Gianluca & Ben Taieb, Souhaib, 2011. "Conditionally dependent strategies for multiple-step-ahead prediction in local learning," International Journal of Forecasting, Elsevier, vol. 27(3), pages 689-699, July.
    12. Bhatti, Muhammad Tousif & Anwar, Arif A. & Ali Shah, Muhammad Azeem, 2019. "Revisiting telemetry in Pakistan’s Indus Basin Irrigation System," Papers published in Journals (Open Access), International Water Management Institute, pages 11(11):1-20.
    13. Edward J. Lusk, 2019. "Time Series Forecasting in Stock Trading Markets: The Turning Point Curiosity," International Journal of Research in Business and Social Science (2147-4478), Center for the Strategic Studies in Business and Finance, vol. 8(4), pages 01-16, July.
    14. Anas Al-Rahamneh & Irene Izco & Adrian Serrano-Hernandez & Javier Faulin, 2025. "Machine Learning-Based State-of-Health Estimation of Battery Management Systems Using Experimental and Simulation Data," Mathematics, MDPI, vol. 13(14), pages 1-23, July.
    15. Schneider, Matthew J. & Gupta, Sachin, 2016. "Forecasting sales of new and existing products using consumer reviews: A random projections approach," International Journal of Forecasting, Elsevier, vol. 32(2), pages 243-256.
    16. Garcia-Ferrer, Antonio & Queralt, Ricardo A., 1997. "A note on forecasting international tourism demand in Spain," International Journal of Forecasting, Elsevier, vol. 13(4), pages 539-549, December.
    17. Blaskowitz, Oliver & Herwartz, Helmut, 2011. "On economic evaluation of directional forecasts," International Journal of Forecasting, Elsevier, vol. 27(4), pages 1058-1065, October.
    18. Wagatha, Matthias, 2007. "Integration, Kointegration und die Langzeitprognose von Kreditausfallzyklen [Integration, Cointegration and Long-Horizont Forecasting of Credit-Default-Cycles]," MPRA Paper 8602, University Library of Munich, Germany.
    19. Dean W. Wichern & Benito E. Flores, 2005. "Evaluating forecasts: a look at aggregate bias and accuracy measures," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 24(6), pages 433-451.
    20. Tashman, Leonard J. & Kruk, Joshua M., 1996. "The use of protocols to select exponential smoothing procedures: A reconsideration of forecasting competitions," International Journal of Forecasting, Elsevier, vol. 12(2), pages 235-253, June.

    More about this item

    Statistics

    Access and download statistics

    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:cvt:journl:y:2021:id:686. 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: Ð ÐµÐ´Ð°ÐºÑ†Ð¸Ñ (email available below). General contact details of provider: .

    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.