Building an ARIMA Model for Predicting Time Series in Python


Abdenova G. Kenzhebayeva Z. Martyniuk H.
30 June 2025Research Institute of Intelligent Computer Systems

International Journal of Computing
2025#24Issue 2369 - 376 pp.

This study showcases the practical application of the Box-Jenkins model, specifically ARIMA, to predict forthcoming values of a short-term economic indicator in the Republic of Kazakhstan. Data extracted from the Bureau of National Statistics website, covering the period from January 2009 to July 2021, served as the foundation for this analysis. Leveraging the Python programming language, the authors constructed the ARIMA model and conducted thorough time series analysis to uncover temporal patterns within the data. Validation of the model’s performance was carried out using data from August 2021 to July 2022. The article presents a comprehensive methodology for model development, encompassing data preprocessing, parameter estimation, and model evaluation stages. Emphasis is placed on the necessity of regular data updates to uphold the accuracy of forecasts, underscoring the practical significance of this study within the domain of time series modeling and forecasting methodologies. As a result, using the constructed model, future values of the series were obtained and a comparison of the predicted values with real data was carried out. To check the error, the mean absolute error in percent (MAPE) was calculated, which was 7.2%. Checking the residual errors showed that the residuals have a normal distribution. This research contributes valuable insights into the application of advanced statistical techniques for economic forecasting, particularly in dynamically evolving contexts like Kazakhstan’s economy.

ARIMA , non-stationary time series , seasonal data , short-term forecasts

Text of the article Перейти на текст статьи

Department of Mathematical and Computer Modeling, L.N. Gumilyov Eurasian National University, Astana, Kazakhstan
Department of Computer Science, The Caspian University of Technology and Engineering named after Sh.Yessenov JCS, Aktau, Kazakhstan
Department of System Analysis and Information Technologies, Mariupol State University, Kyiv, Ukraine

Department of Mathematical and Computer Modeling
Department of Computer Science
Department of System Analysis and Information Technologies

10 лет помогаем публиковать статьи Международный издатель

Книга Публикация научной статьи Волощук 2026 Book Publication of a scientific article 2026