Code used in the project evaluating England's Teenage Pregnancy Strategy.
The file Synth-iterations-report.rmd
will produce outputs for Synthetic Control analyses. The Interrupted Time Series analyses can be reproduced here using a Shiny app (repo for Shiny app here)
To get started, clone the repository, open teen-preg-project.Rproj
and run renv::restore()
in Rstudio. Open Synth-iterations-report.rmd
and run all chunks to reproduce synthetic control analyses.
The R
folder contains all code developed throughout the project.
(Source data is freely available from all sources but cannot be redistributed here. Compiled data included as .rdata
files)
- The Human Mortality Database (Requires registration; accessed 9 Apr 2019)
- The Human Fertility Database (Requires registration; accessed 25 March 2019)
- Statistics New Zealand (accessed 19 Feburary 2019) - tables VSB004AA and ABN005AA
- World Bank Open Data (accessed 23 April 2019)
- European Health Information Gateway - Health for All Explorer (accessed 9 September 2019)
- Guttmacher Institute - Pregnancies, Births and Abortions Among Adolescents and Young Women in the United States, 2013 (accessed 17 January 2019)
- Public spending on education - OECD Data (accessed 21 October 2019)