This repository contains the code used for the analysis in Rudgard et al. (2022), accessible via DOI: j.jadohealth.2022.04.010. The code includes the Stata syntax necessary to process the data and reproduce the regression results presented in the manuscript. To run the code, you will need the data file from the Young Lives study, as described in the methods section of the paper. Data from the Young Lives Study is publicly available via the UK Data Service catalogue.