Dispelling ESG Investing Risk Misconceptions

Published: 26 February 2026| Version 1 | DOI: 10.17632/wfckk67tsf.1
Contributors:
Sofia Ramos,
,

Description

This replication package provides the synthetic data, code, and instructions required to reproduce the main empirical results of the above-mentioned research paper. The package is designed to facilitate transparency and enable independent verification of all statistical findings reported in the study. The empirical analysis is organized into three main blocks: 1 – Computation of Risk Metrics (R) Risk measures are computed from daily fund return data obtained from data sources. The daily returns are first processed to construct fund-level risk metrics. These measures are then aggregated and transformed to a semester frequency. All data processing and risk metric construction for this step are implemented in R. The corresponding scripts and intermediate datasets are provided in the R replication package. 2 – Data Merging and Empirical Analysis (Stata) The semester-level dataset constructed in Step 1 is merged with fund-level information from Morningstar funds. The main empirical analysis is conducted in Stata using the merged dataset. All Stata do-files required to replicate the empirical results are included in the Stata replication package. 3 – Random Forest Model Analysis(R) A Random Forest model is estimated in R using the merged and cleaned dataset. All scripts necessary to replicate the machine learning analysis are included in the R replication package.

Files

Steps to reproduce

##3 CODE SHARING ##3.1 R replication package The package includes the R code to compute the risk measures as well as random forest (rf) file codes ├── code_submit │ ├── Riskmeasures.R │ ├── master.R │ ├── rf_nested_cv_temporal.R │ ├── rf_nested_cv_temporal_interactions_shap.R │ └── rf_r2_temporal_group_cv.R ##3.2 STATA replication package The package includes the STATA code to replicate all tables in the manuscript and Appendix The empirical analysis was implemented in Stata 18 (compatible with Stata 17 or higher). The do-file requires the following user-written packages: reghdfe, ftools, require, outreg2 and asdoc ├── Do files │ ├── Tables_1_8_and Appendix

Categories

Financial Risk, Empirical Finance

Licence