Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Economic Growth and Fiscal Policy in Peru: Prediction Using Machine Learning Models

Author 1: Fidel Huanco Ramos Author 2: Yesenia Valentin Ccori Author 3: Henry Shuta Lloclla Author 4: Martha Yucra Sotomayor Author 5: Ilda Mamani Uchasara
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 16, No. 4 · Published 2025

DOI: https://doi.org/10.14569/IJACSA.2025.0160405

Abstract

The empirical literature presents several indicators related to fiscal policy and economic growth. The paper aims to predict Peru's economic growth using fiscal policy variables. For this purpose, open data from the Central Reserve Bank of Peru was used, data preprocessing and the study used Python programming through Google Colab to evaluate eight machine learning models. Metrics such as Root Mean Square Error (RMSE), Mean absolute error (MAE), Mean square error (MSE), and Coefficient of Determination (R²) were used to measure their performance. In addition, SHapley Additive exPlanations (SHAP) was applied to interpret the importance of macroeconomic variables. The results show that the K-Nearest Neighbors (KNN) model obtained the best performance, with an R² of 0.972 and low prediction errors. In the same way, important variables in fiscal policy such as Net Debt, Liabilities, and Interest on External Debt were identified. In conclusion, the study shows that KNN and Ensemble Bagging are highly effective models for predicting Peru's economic growth.

Keywords

How to Cite this Article

Ramos, F. H., Ccori, Y. V., Lloclla, H. S., Sotomayor, M. Y., & Uchasara, I. M. (2025). Economic Growth and Fiscal Policy in Peru: Prediction Using Machine Learning Models. International Journal of Advanced Computer Science and Applications, 16(4). https://doi.org/10.14569/IJACSA.2025.0160405

Ramos, Fidel Huanco, et al.. "Economic Growth and Fiscal Policy in Peru: Prediction Using Machine Learning Models." International Journal of Advanced Computer Science and Applications, vol. 16, no. 4, 2025, https://doi.org/10.14569/IJACSA.2025.0160405.

@article{Ramos2025,
  title     = {Economic Growth and Fiscal Policy in Peru: Prediction Using Machine Learning Models},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {16},
  number    = {4},
  year      = {2025},
  publisher = {The Science and Information Organization},
  author    = {Fidel Huanco Ramos and Yesenia Valentin Ccori and Henry Shuta Lloclla and Martha Yucra Sotomayor and Ilda Mamani Uchasara},
  doi       = {10.14569/IJACSA.2025.0160405},
  url       = {https://doi.org/10.14569/IJACSA.2025.0160405}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.