Stata and R code for a paper using Understanding Society data to investigate the relationshp between the Education Maintenance Allowance and Mental Wellbeing.
This is code to carrry out analyses using Understnading Society data. University of Essex, Institute for Social and Economic Research. (2023). Understanding Society: Waves 1-13, 2009-2022 and Harmonised BHPS: Waves 1-18, 1991-2009: Special Licence Access. [data collection]. 16th Edition. UK Data Service. SN: 6931, DOI: http://doi.org/10.5255/UKDA-SN-6931-15
The Stata code was used to derive the analytic files, while R code has been used to carry out the analyses.
The final published paper: Richard John Shaw, Andrew James Baxter, Srinivasa Vittal Katikireddi - Mental health of UK youth following the removal of the Education Maintenance Allowance in England: a natural experiment study using Understanding Society data: BMJ Public Health 2025;3:e001677, is available from https://bmjpublichealth.bmj.com/content/3/1/e001677