Skip to content

Test code for disaggregated synthetic control with simulated data

License

Notifications You must be signed in to change notification settings

sodascience/schools_synth_test

Repository files navigation

Disaggregated synthetic control simulation

In this repository, we simulate data on a school intervention and we try to recover the average causal effect using a disaggregated synthetic control method. In this method, we create a synthetic control for each school and then average over schools.

The script 01_simulate_data.R contains the code to create the simulated school data, which results in the following simulated effect:

Simulated causal effect on test scores for a subset of schools

The script 02_disaggregated_synthetic_control.R contains the code to analyse this data and produce school-level effect plots like this:

The estimated causal effect for a single school

Additionally, there is code to investigate covariate balance for the schools:

Plot of covariate balance

Contact

This is a project by the ODISSEI Social Data Science (SoDa) team. Do you have questions, suggestions, or remarks on the technical implementation? File an issue in the issue tracker or feel free to contact Erik-Jan van Kesteren.

SoDa logo

About

Test code for disaggregated synthetic control with simulated data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages