Synergy Between Classical Econometrics and Machine Learning in Forecasting Pakistan's Consumer Price Index
DOI:
https://doi.org/10.54938/ijemd-ss.2026.05.6.882Keywords:
inflation forecasting, Consumer Price Index, Pakistan, ensemble empirical mode decomposition, ARIMA, LSTM, XGBoost, Bayesian optimisation, indicator saturation, Diebold–Mariano testAbstract
Forecasting an administratively compiled consumer price index exposes the standing division in the forecasting profession with unusual clarity. Classical econometric specifications deliver interpretable parameters and honest confidence intervals but revert to the mean of the differenced series faster than an inflation episode actually unwinds; machine learning specifications track the non-linear acceleration but return point forecasts with no standard error worth the name. This paper proposes and tests a synergy that assigns each tradition the task it is built for. The monthly Pakistan Consumer Price Index, August 1991 to February 2025 (T = 402), is decomposed by Ensemble Empirical Mode Decomposition into three intrinsic mode functions; a power spectral density rule routes each mode to a stochastic or a deterministic sub block on the share of its energy lying below a low frequency threshold; an ARIMA front end absorbs the linear dependence within each sub-block; and the pooled residual is handed to an LSTM or an XGBoost residual learner whose hyperparameters are selected by Bayesian optimisation against a held out validation loss. Eleven candidate specifications are estimated on a seventy per cent fixed-origin estimation window and compared on the remaining thirty per cent under mean absolute error, root mean squared error, symmetric mean absolute percentage error and the Diebold Mariano test. The results depict that synergy has minimum loss functions instead of stand alone conventional and machine learning models.
Downloads
References
[1] Aguiar Conraria, L., & Soares, M. J. (2011). Business cycle synchronization and the Euro: A wavelet analysis. Journal of Macroeconomics, 33(3), 477–489.
[2] Akaike, H. (1974). A new look at the statistical model identification. IEEE Transactions on Automatic Control, 19(6), 716–723.
[3] Bates, J. M., & Granger, C. W. J. (1969). The combination of forecasts. Operational Research Quarterly, 20(4), 451–468.
[4] Bergstra, J., & Bengio, Y. (2012). Random search for hyper-parameter optimization. Journal of Machine Learning Research, 13, 281–305.
[5] Bollerslev, T. (1986). Generalized autoregressive conditional heteroskedasticity. Journal of Econometrics, 31(3), 307–327.
[6] Box, G. E. P., & Jenkins, G. M. (1970). Time series analysis: Forecasting and control. Holden-Day.
[7] Box, G. E. P., Jenkins, G. M., Reinsel, G. C., & Ljung, G. M. (2015). Time series analysis: Forecasting and control (5th ed.). Wiley.
[8] Cai, X., Ge, X., & Zhang, X. (2025). Enhanced EEMD neural network hybrids for macroeconomic forecasting. Applied Soft Computing, 145, 110624.
[9] Castle, J. L., & Hendry, D. F. (2019). Modelling our changing world. Palgrave Macmillan.
[10] Castle, J. L., Doornik, J. A., & Hendry, D. F. (2015). Robust approaches to forecasting. International Journal of Forecasting, 31(1), 99–112.
[11] Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785–794).
[12] Choudhary, M. A., & Haider, A. (2012). Neural network models for inflation forecasting: An appraisal. Applied Economics, 44(20), 2631–2635.
[13] Clark, T. E., & West, K. D. (2007). Approximately normal tests for equal predictive accuracy in nested models. Journal of Econometrics, 138(1), 291–311.
[14] Clements, M. P., & Hendry, D. F. (1998). Forecasting economic time series. Cambridge University Press.
[15] Clements, M. P., & Hendry, D. F. (1999). Forecasting non-stationary economic time series. MIT Press.
[16] Dickey, D. A., & Fuller, W. A. (1979). Distribution of the estimators for autoregressive time series with a unit root. Journal of the American Statistical Association, 74, 427–431.
[17] Diebold, F. X., & Mariano, R. S. (1995). Comparing predictive accuracy. Journal of Business & Economic Statistics, 13(3), 253–263.
[18] Engle, R. F. (1982). Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation. Econometrica, 50(4), 987–1007.
[19] Ericsson, N. R. (2016). Eliciting GDP forecasts from the FOMC's minutes around the financial crisis. International Journal of Forecasting, 32(2), 571–583.
[20] Fernandes, M., Medeiros, M. C., & Scharth, M. (2018). Modeling and predicting the CBOE market volatility index. Journal of Banking & Finance, 40, 1–10.
[21] Fischer, T., & Krauss, C. (2018). Deep learning with long short-term memory networks for financial market predictions. European Journal of Operational Research, 270(2), 654–669.
[22] Flandrin, P., Rilling, G., & Goncalves, P. (2004). Empirical mode decomposition as a filter bank. IEEE Signal Processing Letters, 11(2), 112–114.
[23] Frazier, P. I. (2018). A tutorial on Bayesian optimization. arXiv preprint arXiv:1807.02811.
[24] Glorot, X., & Bengio, Y. (2010). Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the 13th International Conference on Artificial Intelligence and Statistics (pp. 249–256).
[25] Greff, K., Srivastava, R. K., Koutník, J., Steunebrink, B. R., & Schmidhuber, J. (2017). LSTM: A search space odyssey. IEEE Transactions on Neural Networks and Learning Systems, 28(10), 2222–2232.
[26] Gu, S., Kelly, B., & Xiu, D. (2020). Empirical asset pricing via machine learning. Review of Financial Studies, 33(5), 2223–2273.
[27] Guo, C., Kang, X., Xiong, J., & Wu, J. (2023). A new time series forecasting model based on complete ensemble empirical mode decomposition with adaptive noise and temporal convolutional network. Neural Processing Letters, 55(4), 4397–4417.
[28] Guo, Z., Song, W., & Cheng, X. (2012). A novel EEMD-SVM hybrid model for oil price forecasting. Energy Economics, 34(5), 1546–1554.
[29] Harvey, D., Leybourne, S., & Newbold, P. (1997). Testing the equality of prediction mean squared errors. International Journal of Forecasting, 13(2), 281–291.
[30] Hendry, D. F., Johansen, S., & Santos, C. (2008). Automatic selection of indicators in a fully saturated regression. Computational Statistics, 23(2), 317–335.
[31] Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780.
[32] Huang, N. E., Shen, Z., Long, S. R., Wu, M. C., Shih, H. H., Zheng, Q., Yen, N.-C., Tung, C. C., & Liu, H. H. (1998). The empirical mode decomposition and the Hilbert spectrum for nonlinear and non-stationary time series analysis. Proceedings of the Royal Society of London A, 454, 903–995.
[33] Hussain, S., Ali, S., & Zaki, S. R. (2019). Inflation forecasting for Pakistan using ARIMA-ARCH models. Pakistan Economic and Social Review, 57(1), 51–72.
[34] Hyndman, R. J., & Athanasopoulos, G. (2018). Forecasting: Principles and practice (2nd ed.). OTexts.
[35] Hyndman, R. J., & Khandakar, Y. (2008). Automatic time series forecasting: The forecast package for R. Journal of Statistical Software, 27(3), 1–22.
[36] Hyndman, R. J., & Koehler, A. B. (2006). Another look at measures of forecast accuracy. International Journal of Forecasting, 22(4), 679–688.
[37] International Monetary Fund. (2020). Consumer price index manual: Concepts and methods. International Monetary Fund.
[38] Jarque, C. M., & Bera, A. K. (1980). Efficient tests for normality, homoscedasticity and serial independence of regression residuals. Economics Letters, 6(3), 255–259.
[39] Jones, D. R., Schonlau, M., & Welch, W. J. (1998). Efficient global optimization of expensive black-box functions. Journal of Global Optimization, 13(4), 455–492.
[40] Kingma, D. P., & Ba, J. (2015). Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations (ICLR 2015).
[41] Kourentzes, N., Barrow, D. K., & Crone, S. F. (2014). Neural network ensemble operators for time series forecasting. Expert Systems with Applications, 41(9), 4235–4244.
[42] Kwiatkowski, D., Phillips, P. C. B., Schmidt, P., & Shin, Y. (1992). Testing the null hypothesis of stationarity against the alternative of a unit root. Journal of Econometrics, 54, 159–178.
[43] Lipton, Z. C. (2018). The mythos of model interpretability. Communications of the ACM, 61(10), 36–43.
[44] Ljung, G. M., & Box, G. E. P. (1978). On a measure of lack of fit in time series models. Biometrika, 65(2), 297–303.
[45] Makridakis, S., Spiliotis, E., & Assimakopoulos, V. (2018). Statistical and machine learning forecasting methods: Concerns and ways forward. PLoS ONE, 13(3), e0194889.
[46] Mockus, J. (1975). On Bayesian methods for seeking the extremum. In Optimization techniques IFIP technical conference (pp. 400–404). Springer.
[47] Nasir, J., Aamir, M., Haq, Z. U., Khan, S., Amin, M. Y., & Naeem, M. (2023). A new approach for forecasting crude oil prices based on stochastic and deterministic influences of LMD using ARIMA and LSTM models. IEEE Access, 11, 14322–14339.
[48] Newey, W. K., & West, K. D. (1987). A simple, positive semi-definite, heteroskedasticity and autocorrelation consistent covariance matrix. Econometrica, 55(3), 703–708.
[49] Nguyen, D. K., & Sensoy, A. (2017). A comparison of wavelet-based methods for volatility spillovers in emerging markets. Physica A, 470, 174–195.
[50] Pakistan Bureau of Statistics. (2024). Consumer Price Index [Data set]. Government of Pakistan.
[51] Percival, D. B., & Walden, A. T. (2000). Wavelet methods for time series analysis. Cambridge University Press.
[52] Persons, W. M. (1919). Indices of business conditions. Review of Economic Statistics, 1(1), 5–107.
[53] Pesaran, M. H., & Timmermann, A. (2007). Selection of estimation window in the presence of breaks. Journal of Econometrics, 137(1), 134–161.
[54] Phillips, P. C. B., & Perron, P. (1988). Testing for a unit root in time series regression. Biometrika, 75(2), 335–346.
[55] Priestley, M. B. (1981). Spectral analysis and time series. Academic Press.
[56] Rasmussen, C. E., & Williams, C. K. I. (2006). Gaussian processes for machine learning. MIT Press.
[57] Rossi, B. (2013). Advances in forecasting under instability. In G. Elliott & A. Timmermann (Eds.), Handbook of economic forecasting (Vol. 2B, pp. 1203–1324). Elsevier.
[58] Rudin, C. (2019). Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nature Machine Intelligence, 1(5), 206–215.
[59] Schwarz, G. (1978). Estimating the dimension of a model. Annals of Statistics, 6(2), 461–464.
[60] Shahriari, B., Swersky, K., Wang, Z., Adams, R. P., & de Freitas, N. (2015). Taking the human out of the loop: A review of Bayesian optimization. Proceedings of the IEEE, 104(1), 148–175.
[61] Siami-Namini, S., Tavakoli, N., & Namin, A. S. (2018). A comparison of ARIMA and LSTM in forecasting time series. In 17th IEEE International Conference on Machine Learning and Applications (pp. 1394–1401).
[62] Snoek, J., Larochelle, H., & Adams, R. P. (2012). Practical Bayesian optimization of machine learning algorithms. Advances in Neural Information Processing Systems, 25, 2951–2959.
[63] Srivastava, N., Hinton, G., Krizhevsky, A., Sutskever, I., & Salakhutdinov, R. (2014). Dropout: A simple way to prevent neural networks from overfitting. Journal of Machine Learning Research, 15, 1929–1958.
[64] State Bank of Pakistan. (2024). Annual report on the state of Pakistan's economy. State Bank of Pakistan.
[65] Stock, J. H., & Watson, M. W. (2007). Why has US inflation become harder to forecast? Journal of Money, Credit and Banking, 39(s1), 3–33.
[66] Stock, J. H., & Watson, M. W. (2015). Introduction to econometrics (3rd updated ed.). Pearson.
[67] Tashman, L. J. (2000). Out-of-sample tests of forecasting accuracy: An analysis and review. International Journal of Forecasting, 16(4), 437–450.
[68] Timmermann, A. (2006). Forecast combinations. In G. Elliott, C. W. J. Granger, & A. Timmermann (Eds.), Handbook of economic forecasting (Vol. 1, pp. 135–196). Elsevier.
[69] Tsay, R. S. (2010). Analysis of financial time series (3rd ed.). Wiley.
[70] Turk, A. M., Khan, S. A., Aamir, M., & Hussain, Z. (2025). Introducing the synergy-based approach for forecasting the crude oil prices with traditional and machine learning econometric models. International Econometric Review, 17(2), 18–34.
[71] Wang, S., Yu, L., Tang, L., & Wang, S. (2011). A novel seasonal decomposition based least squares support vector regression ensemble learning approach for hydropower consumption forecasting in China. Energy, 36(11), 6542–6554.
[72] Welch, P. (1967). The use of fast Fourier transform for the estimation of power spectra. IEEE Transactions on Audio and Electroacoustics, 15(2), 70–73.
[73] Wu, J., Chen, X. Y., Zhang, H., Xiong, L. D., Lei, H., & Deng, S. H. (2019). Hyperparameter optimization for machine learning models based on Bayesian optimization. Journal of Electronic Science and Technology, 17(1), 26–40.
[74] Wu, Z., & Huang, N. E. (2009). Ensemble empirical mode decomposition: A noise-assisted data analysis method. Advances in Adaptive Data Analysis, 1(1), 1–41.
[75] Xiong, X., Guo, X., Zeng, P., Zou, R., & Wang, X. (2022). A short-term wind power forecast method via XGBoost hyper-parameters optimization. Frontiers in Energy Research, 10, 905155.
[76] Yu, L., Wang, S., & Lai, K. K. (2008). Forecasting crude oil price with an EMD-based neural network ensemble learning paradigm. Energy Economics, 30(5), 2623–2635.
[77] Zhang, G. P. (2003). Time series forecasting using a hybrid ARIMA and neural network model. Neurocomputing, 50, 159–175.
[78] Zhang, W., Duan, L., Liu, T., Shi, Z., Shi, X., Chang, Y., Qu, S., & Wang, G. (2024). A hybrid framework based on LSTM for predicting karst spring discharge using historical data. Journal of Hydrology, 633, 130946.
[79] Zhang, Y., Zhang, S., & Zhang, X. (2008). Application of a hybrid EEMD-ARIMA model in forecasting WTI crude oil prices. Journal of Applied Statistics, 35(2), 189–204.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Arslan Munir Turk, Saud Ahmed Khan

This work is licensed under a Creative Commons Attribution 4.0 International License.
Under the Creative Common Attribution (CC-BY 4.0) license, authors retain copyright and grant the journal right of first publication.



