PREDICTING ANNUAL GDP GROWTH ACROSS COUNTRIES USING MACROECONOMIC PANEL DATA

Authors

  • Zeeshan Shakoor Author
  • Muazzam Ali Author
  • Abdul Manan Author
  • M. Usman Hashmi Author
  • Affan Ahmad Author

Keywords:

GDP growth; machine learning; panel data; out-of-time evaluation; directional accuracy; explainable AI

Abstract

Forecasting annual GDP growth across a large set of economies remains difficult because the data combine structural differences, uneven reporting and occasional shocks of exceptional size. We compare linear regression, random forest, XGBoost, LightGBM and CatBoost using 3,472 country-year records for 217 economies and territories over 2010-2025. The workflow includes missingness indicators, median imputation, winsorisation, robust scaling, lagged variables and country and year encodings, followed by a chronological holdout. All five models produce a negative out-of-time R²: LightGBM is closest to the holdout-mean benchmark at -0.0076, whereas linear regression records -0.7106. The tree ensembles nonetheless improve markedly on the linear model. LightGBM reduces RMSE by 23.25%, CatBoost reduces MAE by 44.37%, and random forest achieves the highest reported sign agreement at 95.08%. That sign result should be interpreted cautiously. The available outputs do not include the class balance, a majority-sign or persistence benchmark, paired forecast errors, rolling-origin estimates or country-clustered uncertainty. Model explanations are similarly sensitive to the diagnostic used: split importance gives greatest weight to lagged GDP growth, while mean absolute SHAP values emphasise GDP-per-capita variables and the year code. The evidence therefore favours nonlinear ensembles over the fitted linear specification, but it does not establish superior point forecasting, a validated recession-warning rule or causal macroeconomic effects.

Downloads

Published

2026-09-18

How to Cite

PREDICTING ANNUAL GDP GROWTH ACROSS COUNTRIES USING MACROECONOMIC PANEL DATA. (2026). Journal for Social Science Studies, 4(5), 382-397. https://jssstudies.org/site/index.php/jsss/article/view/174