Forecasting the Consumer Price Index in Saudi Arabia using Time Series, Machine learning, and Hybrid Models: A Comparative Study
Main Article Content
Abstract
The consumer price index (CPI) tracks the prices of a specified basket of consumer goods and services. It is a leading indicator of inflation and economic performance and plays a crucial role in economic and social planning, reinforcing the importance of accurate CPI forecasting. This article performs a comparative analysis to identify the most appropriate methodologies for forecasting the CPI in Saudi Arabia, using data from January 2011 to December 2024. The methods employed are autoregressive integrated moving average (ARIMA), machine learning models—artificial neural networks (ANN) and long short-term memory (LSTM)—and hybrid models ARIMA-LSTM and ARIMA-ANN. Three activation functions are used: Sigmoid, hyperbolic tangent (Tanh), and rectified linear unit (ReLU). Several accuracy measures evaluate predictive performance. The results demonstrate that the hybrid ARIMA-ANN model with ReLU activation function was the most effective model for forecasting the CPI in Saudi Arabia.
Article Details
References
- R.A. Khan, I. Ghulam, Saudi Arabia’s Economic Outlook Report 2025, SNB Capital, 2025.
- A. Ali, A. Mahgoub, Prediction of CPI in Saudi Arabia: Holt’s Linear Trend Approach, Res. World Econ. 11 (2020), 302–309. https://doi.org/10.5430/rwe.v11n6p302.
- CEIC Data, Saudi Arabia Consumer Price Index (CPI), 2023.
- General Authority for Statistics, General Authority for Statistics, 2023. https://www.stats.gov.sa.
- S. Febriyanti, W.A. Pradana, J.S. Muhammad, E. Widodo, Forecasting the Consumer Price Index in Yogyakarta by Using the Double Exponential Smoothing Method, Param. J. Stat. 2 (2021), 1–7. https://doi.org/10.22487/27765660.2021.v2.i1.15641.
- S. Zhang, Z. Lin, W. Yhang, Forecasting CPI of Restaurants and Hotels in Korea Using the Seasonal Autoregressive Integrated Moving Average (SARIMA) Model, Int. J. Tour. Hosp. Res. 37 (2023), 85–94. https://doi.org/10.21298/ijthr.2023.4.37.4.85.
- I. Mahuda, S.D. Rahmawati, S. Sukmawati, S. Abdullah, Implementation of ARIMA Method to Forecast CPI for COICOP of Food, Beverage and Tobacco in New Normal Period, J. Bayesian: J. Ilm. Stat. Ekon. 4 (2024), 165–176.
- A. Hussein, A. Abdillahi, Modelling and Forecasting Somalia's Consumer Price Index Using the ARIMA Model, Am. J. Theor. Appl. Stat. 14 (2025), 89–98. https://doi.org/10.11648/j.ajtas.20251402.14.
- J. Riofrío, O. Chang, E.J. Revelo-Fuelagán, D.H. Peluffo-Ordóñez, Forecasting the Consumer Price Index (CPI) of Ecuador: a Comparative Study of Predictive Models, Int. J. Adv. Sci. Eng. Inf. Technol. 10 (2020), 1078–1084. https://doi.org/10.18517/ijaseit.10.3.10813.
- I.Y. Purbasari, F.T. Anggraeny, N.A. Ardiningrum, Time-Series Modeling for Consumer Price Index Forecasting Using Comparison Analysis of AutoRegressive Integrated Moving Average and Artificial Neural Network, in: Proceedings of the International Conference on Culture Heritage, Education, Sustainable Tourism, and Innovation Technologies, SCITEPRESS - Science and Technology Publications, pp. 599–604, 2020. https://doi.org/10.5220/0010369205990604.
- M. Qureshi, A. Khan, M. Daniyal, K. Tawiah, Z. Mehmood, A Comparative Analysis of Traditional SARIMA and Machine Learning Models for CPI Data Modelling in Pakistan, Appl. Comput. Intell. Soft Comput. 2023 (2023), 3236617. https://doi.org/10.1155/2023/3236617.
- Y.C. Cham, M.H. Muhammed Nor, B.K.B. Lee, Evaluation of Machine Learning Techniques for Forecasting Malaysia’s Consumer Price Index: a Comparative Study, J. Qual. Meas. Anal. 20 (2024), 199–214. https://doi.org/10.17576/jqma.2003.2024.14.
- M.C.F.A. Ferreira, Forecasting Inflation: Can Machine Learning Outperform Econometric Models?, Master's Thesis, Universidade NOVA de Lisboa, 2024.
- H. Jamil, Inflation Forecasting Using a Hybrid ARIMA–LSTM Model, PhD Thesis, Laurentian University, 2022.
- M. Hadwan, B.M. Al-Maqaleh, F.N. Al-Badani, R.U. Khan, M.A. Al-Hagery, A Hybrid Neural Network and Box-Jenkins Models for Time Series Forecasting, Comput. Mater. Contin. 70 (2022), 4829–4845. https://doi.org/10.32604/cmc.2022.017824.
- T.T.H. Le, T.N. Nguyen, A Hybrid Model Based on ARIMA and Artificial Neural Network to Forecast Consumer Price Index: The Case of Vietnam, in: N. Ngoc Thach, V. Kreinovich, D.T. Ha, N.D. Trung, (eds) Optimal Transport Statistics for Economics and Related Topics, Studies in Systems, Decision and Control, Vol 483, Springer, Cham, (2024). https://doi.org/10.1007/978-3-031-35763-3_32.
- J.P.O. Echevarria, P.J.B. Aranas, Forecasting the Consumer Price Index in the Regions of the Philippines using Machine Learning for Time Series Models, J. Artif. Intell. Mach. Learn. Neural Netw. 3 (2023), 11–22. https://doi.org/10.55529/jaimlnn.36.11.22.
- T. Nyoni, Predicting Consumer Price Index in Saudi Arabia, MPRA Paper, (2019). https://ideas.repec.org/p/pra/mprapa/92422.html.
- A. Mahgoub, T. Alam, Modelling and Predicting the Consumer Price Index in Saudi Arabia, J. Infrastruct. Policy Dev. 8 (2024), 5270. https://doi.org/10.24294/jipd.v8i9.5270.
- F. Sibai, A. El-Moursy, A. Sibai, Forecasting the Consumer Price Index: a Comparative Study of Machine Learning Methods, Int. J. Comput. Digit. Syst. 15 (2024), 487–497. https://doi.org/10.12785/ijcds/150137.
- G.S. da S. Gomes, T.B. Ludermir, L.M.M.R. Lima, Comparison of New Activation Functions in Neural Network for Forecasting Financial Time Series, Neural Comput. Appl. 20 (2010), 417–439. https://doi.org/10.1007/s00521-010-0407-3.
- H. Chang, S. Nakaoka, H. Ando, Effect of Shapes of Activation Functions on Predictability in the Echo State Network, arXiv:1905.09419, 2019. https://doi.org/10.48550/arXiv.1905.09419.
- A. Salam, A.E. Hibaoui, A. Saif, A Comparison of Activation Functions in Multilayer Neural Network for Predicting the Production and Consumption of Electricity Power, Int. J. Electr. Comput. Eng. 11 (2021), 163–172. https://doi.org/10.11591/ijece.v11i1.pp163-170.
- N.H.A. Rahman, C.H. Yin, H.S. Zulkafli, Activation Functions Performance in Multilayer Perceptron for Time Series Forecasting, AIP Conf. Proc. 3158 (2024), 070001. https://doi.org/10.1063/5.0223864.
- G.E.P. Box, G.M. Jenkins, G.C. Reinsel, Time Series Analysis: Forecasting and Control, Wiley, 1970.
- M. Wazid, A.K. Das, V. Chamola, Y. Park, Uniting Cyber Security and Machine Learning: Advantages, Challenges and Future Research, ICT Express 8 (2022), 313–321. https://doi.org/10.1016/j.icte.2022.04.007.
- S.M. Mian, M.S. Khan, M. Shawez, A. Kaur, Artificial Intelligence (AI), Machine Learning (ML) & Deep Learning (DL): A Comprehensive Overview on Techniques, Applications and Research Directions, in: 2024 2nd International Conference on Sustainable Computing and Smart Systems (ICSCSS), IEEE, pp. 1404–1409, 2024. https://doi.org/10.1109/icscss60660.2024.10625198.
- A.L. Samuel, Some Studies in Machine Learning Using the Game of Checkers, IBM J. Res. Dev. 3 (1959), 210–229. https://doi.org/10.1147/rd.33.0210.
- L.C.M. Dafico, E. Barreira, R.M.S.F. Almeida, R. Vicente, Machine Learning Models Applied to Moisture Assessment in Building Materials, Constr. Build. Mater. 405 (2023), 133330. https://doi.org/10.1016/j.conbuildmat.2023.133330.
- C. Nwankpa, W. Ijomah, A. Gachagan, S. Marshall, Activation Functions: Comparison of Trends in Practice and Research for Deep Learning, arXiv:1811.03378, 2018. https://doi.org/10.48550/arXiv.1811.03378.
- Y.A. LeCun, L. Bottou, G.B. Orr, K.R. Müller, Efficient BackProp, in: G. Montavon, G.B. Orr, K.R. Müller, (eds) Neural Networks: Tricks of the Trade, Lecture Notes in Computer Science, Vol 7700, Springer, Berlin, Heidelberg, (2012). https://doi.org/10.1007/978-3-642-35289-8_3.
- V. Nair, G.E. Hinton, Rectified Linear Units Improve Restricted Boltzmann Machines, in: Proceedings of the 27th International Conference on Machine Learning, pp. 807–814, 2010.
- I. Goodfellow, Y. Bengio, A. Courville, Deep Learning, MIT Press, 2016.
- S. Haykin, Neural Networks: a Comprehensive Foundation, Prentice Hall, 1999.
- D.E. Rumelhart, G.E. Hinton, R.J. Williams, Learning Representations by Back-Propagating Errors, Nature 323 (1986), 533–536. https://doi.org/10.1038/323533a0.
- M.H. Sazli, A Brief Review of Feed-Forward Neural Networks, Commun. Fac. Sci. Univ. Ank. Ser. A2 A3 Math. Stat. 50 (2006), 11–17. https://doi.org/10.1501/0003168.
- S. Hochreiter, J. Schmidhuber, Long Short-Term Memory, Neural Comput. 9 (1997), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735.
- A. Graves, Long Short-Term Memory, in: Supervised Sequence Labelling with Recurrent Neural Networks, Studies in Computational Intelligence, Vol 385, Springer, Berlin, (2012). https://doi.org/10.1007/978-3-642-24797-2_4.
- R. Zhang, H. Song, Q. Chen, Y. Wang, S. Wang, et al., Comparison of ARIMA and LSTM for Prediction of Hemorrhagic Fever at Different Time Scales in China, PLoS One 17 (2022), e0262009. https://doi.org/10.1371/journal.pone.0262009.
- G.P. Zhang, Time Series Forecasting Using a Hybrid ARIMA and Neural Network Model, Neurocomputing 50 (2003), 159–175. https://doi.org/10.1016/s0925-2312(01)00702-0.
- L. Wang, H. Zou, J. Su, L. Li, S. Chaudhry, An ARIMA-ANN Hybrid Model for Time Series Forecasting, Syst. Res. Behav. Sci. 30 (2013), 244–259. https://doi.org/10.1002/sres.2179.
- M.V. Shcherbakov, A. Brebels, N.L. Shcherbakova, A.P. Tyukov, T.A. Janovsky, et al., A Survey of Forecast Error Measures, World Appl. Sci. J. 24 (2013), 171–176.
- C. Chen, J. Twycross, J.M. Garibaldi, A New Accuracy Measure Based on Bounded Relative Error for Time Series Forecasting, PLoS One 12 (2017), e0174202. https://doi.org/10.1371/journal.pone.0174202.
- P.C.B. Phillips, P. Perron, Testing for a Unit Root in Time Series Regression, Biometrika 75 (1988), 335–346. https://doi.org/10.1093/biomet/75.2.335.