Replication Package for "ESG Fundamentals and Cross-Border Banking Exposure: Panel and Machine Learning Evidence from 172 Countries"
Authors/Creators
Description
This record contains the replication package for the article “ESG Fundamentals and Cross-Border Banking Exposure: Panel and Machine Learning Evidence from 172 Countries” by Provenzano, Arnone, Leogrande, Drago, Costantiello and Magazzino. The article examines whether the environmental, social and governance (ESG) characteristics of countries are associated with their cross-border banking exposure. Exposure is measured as the consolidated foreign claims of banks reporting to the Bank for International Settlements relative to GDP, for 166 to 172 countries between 2002 and 2020. Each ESG pillar is analysed in a separate equation with the same dependent variable, using three complementary approaches: panel econometrics, cluster analysis on ESG variables alone, and machine learning validation under country-grouped cross-validation. The package allows every number in the article and its Supplementary Material to be reproduced from publicly available source data.
The package contains the source files exactly as used in the analysis. The first is the August 2022 vintage of the World Bank Global Financial Development Database. The second is the World Bank Sovereign ESG Data Portal, downloaded on 1 May 2026. Their versions, download dates, licences and SHA-256 checksums are documented in SOURCES.txt, and the script verify_sources.py checks that the files have not been altered. The folder code contains all analysis scripts, a requirements file listing the exact package versions used, and a shell script, run_all.sh, which runs the complete replication in the documented order and writes the output of each step to a log file. The folder supplementary contains the codebook of all variables, the estimation-sample flags for each pillar, the classification of offshore financial centres based on the list of the International Monetary Fund (2000), and the country assignments to cross-validation folds.
The scripts cover every stage of the analysis. They build the estimation samples from the source files and estimate the five panel estimators of the main tables with robust standard errors. They also cover the within–between (Mundlak) specification, robustness checks and tests of alternative explanations, and inference robust to cross-sectional dependence, including Driscoll-Kraay standard errors, two-way clustering and a wild cluster bootstrap by region. They further reproduce the dynamic estimates with Anderson-Rubin confidence sets, the onshore and offshore estimates with leave-one-out analysis, the turning point and marginal effects of the governance index, the cluster analysis with six algorithms and nine validity indices, and the machine learning validation, including the comparison between models with and without each pillar on identical samples and folds. The README maps every table and figure of the article to the script that produces it and states whether the reproduction is exact or within documented tolerances. Random seeds and fold assignments are fixed, and all preprocessing in the machine learning stage is fitted on training folds only.
Version 2.0 adds the script tables_2_4.py. It follows the original estimation pipeline and reproduces exactly Tables 2 to 4 of the main text, including coefficients, robust standard errors and R². It also reproduces the Between robustness estimates of Supplementary Tables A5 and D5. Its output was checked against all 342 cells of these tables. No data file or other script was changed with respect to version 1.0.
To replicate the results, install the packages listed in requirements.txt and run bash run_all.sh from the folder code. Users of this material are asked to cite both the article and this record.