Forecasting Inflation in Times of Stability and Crisis: A Machine Learning Approach
DOI:
https://doi.org/10.35319/lajed.202544578Keywords:
Machine Learning, inflation, forecasting, crisisAbstract
The Bolivian economy is undergoing its most severe crisis since the 1980s, marked by a dramatic transition from low and stable inflation to pronounced inflationary pressures. In this context, the development of reliable forecasting tools has become increasingly critical. This study evaluates the predictive performance of several widely used Machine Learning (ML) models under two distinct macroeconomic conditions: periods of relative stability and periods of crisis. The findings reveal that ML models in general outperform traditional econometric approaches across both conditions, with the XGBoost algorithm demonstrating the best performance. Additionally, it was found that incorporating a broader set of macroeconomic indicators enhances forecast accuracy. These results suggest that ML techniques can serve as valuable complements to econometric models in macroeconomic forecasting, particularly in complex environments such as Bolivia’s.
Downloads
References
Aras, S., & Lisboa, P.J. (2022). Explainable inflation forecasts by machine learning models. Expert Systems with Applications, 207, 117982. 10.1016/j.eswa.2022.117982.
Araujo, G.S., & Gaglianone, W.P. (2023). Machine learning methods for inflation forecasting in Brazil: New contenders versus classical models. Working Papers Series N° 561, Central Bank of Brazil, Research Department.
Athey, S., & Imbens, G.W. (2019). Machine Learning Methods Economists Should Know About. Annual Review of Economics, 11, 685-725.
Baybuza, I. (2018). Inflation Forecasting Using Machine Learning Methods. Russian Journal of Money and Finance, 77(4), 42-59.
Bolhuis, M.A., & Rayner, B. (2020). Deus ex Machina? A Framework for Macro Forecasting with Machine Learning. IMF Working Papers N° 045, International Monetary Fund.
Bolivar, O. (2024). Weekly Inflation Forecasting: A Two-Step Machine Learning Methodology. SSRN, https://ssrn.com/abstract=5001681
Botha, B., Burger, R., Kotzé, K., Rankin, N., & Steenkamp, D. (2022). Big data forecasting of South African inflation. Empirical Economics, 65, 149-188
Boser, B.E., Guyon, I.M., & Vapnik, V.N. (1992). A training algorithm for optimal margin classifiers. Proceedings of the fifth annual workshop on Computational learning theory (pp. 144-152).
Breiman, L. (2001a). Statistical Modeling: The Two Cultures. Statistical Science, 16(3), 199-215.
Breiman, L. (2001b). Random Forests. Machine Learning, 45, 5-32.
Caballero, R.J. (1991). Durable Goods: An Explanation for Their Slow Adjustment. NBER Working Papers N° 3748, National Bureau of Economic Research, Inc.
Chen, T., & Guestrin. C. (2016): XGBoost: A Scalable Tree Boosting System. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco California USA: ACM, 785-94.
Costain, J., Nakov, A., & Petit, B. (2022). Flattening of the Phillips Curve with State-Dependent Prices and Wages. The Economic Journal, 132(642), 546-581.
Das, P.K., & Das, P.K. (2024). Forecasting and analyzing predictors of inflation rate: Using machine learning approach. Journal of Quantitative Economics, 22(2), 493-517.
D’Amato, L., Garegnani, L., Libonatti, L., Gómez Aguirre, M., & Krysa, A. (2018). Forecasting Inflation in Argentina: A Comparison of Different Models. Economic Research Working Papers N° 81.
Faust, J., & Wright, J. (2013). Forecasting Inflation. In G. Elliott and A. Timmermann (eds.), Handbook of Economic Forecasting, Amsterdam: Elsevier.
Gabriel, V., Bautista, D., & Mapa, C. (2020). Forecasting regional inflation in the Philippines using machine learning techniques: A new approach. Working Paper N° 10, Bangko Sentral ng Pilipinas.
Garcia, M.G.P., Medeiros M.C., & Vasconcelos, G.F.R. (2017). Real-time inflation forecasting with high-dimensional models: The case of Brazil. International Journal of Forecasting, 33(3), 679-93.
Giacomini, R., & White, H. (2006). Tests of Conditional Predictive Ability. Econometrica, 74(6), 1545-78.
Gowrisankaran, G., & Rysman, M. (2012). Dynamics of Consumer Demand for New Durable Goods. Journal of Political Economy, 120(6), 1173-1219.
Greene, W.H. (2003). Econometric Analysis. United States: Prentice Hall.
Hall, A.S. (2018). Machine Learning Approaches to Macroeconomic Forecasting. Economic Review, Federal Reserve Bank of Kansas City, QIV, 63-81.
Ivașcu, C., (2023). Can Machine Learning Models Predict Inflation? Proceedings of the International Conference on Business Excellence, Sciendo, 17(1), 1748-1756.
Joseph, A., Potjagailo, G., Chakraborty, C., & Kapetanios, G. (2024). Forecasting UK inflation bottom up. International Journal of Forecasting, 40(4), 1521-1538.
Jouilil, Y., & Iaousse, M. (2023). Comparing the Accuracy of Classical and Machine Learning Methods in Time Series Forecasting: A Case Study of USA Inflation. Statistics, Optimization & Information Computing, 11(4), 1041-1050. https://doi.org/10.19139/soic-2310-5070-1767
Khashimova, N., & Buranova, M. (2024). Comparative Analysis of Machine Learning Algorithms for Inflation Rate Classification and Economic Trend Forecasting. ICFNDS ‘23: Proceedings of the 7th International Conference on Future Networks and Distributed Systems, 274-282.
Koester, G., Lis, E., Nickel, C., Osbat, C., & Smets, F. (2021), Understanding low inflation in the euro area from 2013 to 2019: cyclical and structural drivers. Occasional Paper Series, N° 280, ECB.
Kohlscheen, E. (2022). What does machine learning say about the drivers of inflation? BIS Working Paper N° 980.
Lenza, M., Moutachaker, I., & Paredes, J., (2023). Forecasting euro area inflation with machine-learning models. Research Bulletin N° 112, European Central Bank.
Liu, Y., Yang, D., & Zhao Y. (2022): Housing Boom and Headline Inflation: Insights from Machine Learning. IMF Working Papers N° 151, International Monetary Fund.
Liu, Y., Pan, R., & Xu, R., (2024). Mending the Crystal Ball: Enhanced Inflation Forecasts with Machine Learning. IMF Working Papers N° 206. https://doi.org/10.5089/9798400285387.001
Mack, Y.P. (1981). Local properties of k-NN regression estimates’. SIAM Journal of Algebraic and Discrete Methods, 2(3), 311-323.
Makridakis, S., Spiliotis, E., & Assimakopoulos, V. (2018). Statistical and Machine Learning forecasting methods: Concerns and ways forward. PLOS ONE, 13(3), 1-26.
Masini, R.P., Medeiros, M.C., & Mendes, E.F. (2023). Machine learning advances for time series forecasting. Journal of Economic Surveys, 37(1), 76-111.
McKay, A. and Wieland, J.F. (2021). Lumpy Durable Consumption Demand and the Limited Ammunition of Monetary Policy. Staff Report 622, Federal Reserve Bank of Minneapolis.
Medeiros, M.C., & Mendes, E.F. (2016). ℓ1-regularization of high-dimensional time-series models with non-Gaussian and heteroskedastic errors. Journal of Econometrics, 191(1), 255-271.
Medeiros, M.C., Vasconcelos, G.F.R., Veiga, Á., & Zilberman, E., (2021). Forecasting inflation in a data-rich environment: the benefits of machine learning methods. Journal of Business & Economic Statistics, 39(1), 98-119.
Momo, S., Riajuliislam, M., & Hafiz, R. (2021). Forecasting of Inflation Rate Contingent on Consumer Price Index: Machine Learning Approach. In Intelligent Computing and Innovation on Data Science (pp.137-144). 10.1007/978-981-16-3153-5_17.
Nakamura, E. (2005). Inflation Forecasting Using a Neural Network. Economics Letters, 86(3), 373-378.
Phillips, P., & Perron, P. (1988). Testing for a unit root in time series regression. Biometrika, 75(2), 335-346. https://doi.org/10.1093/biomet/75.2.335
Özgür, Ö., & Akkoç, U. (2021). Inflation forecasting in an emerging economy: selecting variables with machine learning algorithms. International Journal of Emerging Markets, 17(8), 1889-1908.
Rodríguez-Vargas, A. (2020). Forecasting Costa Rican inflation with machine learning methods. Latin American Journal of Central Banking (previously Monetaria). 1(1), 1-4.
Samuel, A. (1959). Some studies in machine learning using the game of checkers. IBM Journal of Research and Development, 3(3), 210-229.
Silva, G., & Piazza, W. (2022). Machine Learning Methods for Inflation Forecasting in Brazil: new contenders versus classical models. Working Papers Series 561, Central Bank of Brazil, Research Department.
Yakowitz, S., & Karlsson, M. (1987). Nearest neighbour methods for time series, with application to rainfall/runoff prediction. In Macneill, J.B. y Umphrey, G.J. (eds.), Stochastic Hydrology, D. Reidel Publishing Co. (pp. 149-160).
Varian, H.R. (2014). Big Data: New Tricks for Econometrics. Journal of Economic Perspectives, 28(2), 3-28.
Zahara, S., & Ilmiddaviq, M.B. (2020). Consumer price index prediction using Long Short Term Memory (LSTM) based cloud computing. Journal of Physics: Conference Series, 1456(1), 012022.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Latin American Journal of Economic Development

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
