Predicting Private Credit Growth (with Lag Structure) Using Machine Learning Models: Random Forest vs. XGBoost

Objective:

Data

Data Sources:


Time Period and Coverage:


Target Variable: 

This prediction task incorporated a 1-year lag, meaning macro variables from year t were used to predict credit growth in t+1.

This approach aligns with practical applications in macroprudential surveillance, allowing the model to anticipate financial risks with a policy-relevant lead time. 



Explanatory Variables (year t):


Models and Methodology

Results

Model Fit Comparison: Random Forest vs. XGBoost
Actual vs Predicted Credit Growth Plots:

Random Forest: