{"id":21685889,"url":"https://github.com/sodascience/schools_synth_test","last_synced_at":"2025-03-20T11:45:34.108Z","repository":{"id":181141931,"uuid":"666292940","full_name":"sodascience/schools_synth_test","owner":"sodascience","description":"Test code for disaggregated synthetic control with simulated data","archived":false,"fork":false,"pushed_at":"2024-01-17T09:28:56.000Z","size":11575,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-25T12:09:36.638Z","etag":null,"topics":["causal-inference","simulation","statistics","synthetic-control"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sodascience.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-14T06:51:32.000Z","updated_at":"2024-01-17T09:29:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"a41175d6-c300-4f2b-a68a-73ef0c4e79a8","html_url":"https://github.com/sodascience/schools_synth_test","commit_stats":null,"previous_names":["sodascience/schools_synth_test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sodascience%2Fschools_synth_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sodascience%2Fschools_synth_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sodascience%2Fschools_synth_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sodascience%2Fschools_synth_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sodascience","download_url":"https://codeload.github.com/sodascience/schools_synth_test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244609364,"owners_count":20480780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["causal-inference","simulation","statistics","synthetic-control"],"created_at":"2024-11-25T16:23:34.209Z","updated_at":"2025-03-20T11:45:34.086Z","avatar_url":"https://github.com/sodascience.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Disaggregated synthetic control simulation\nIn 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.\n\nThe script [`01_simulate_data.R`](./01_simulate_data.R) contains the code to create the simulated school data, which results in the following simulated effect:\n\n![Simulated causal effect on test scores for a subset of schools](img/simulated_effect.png)\n\nThe script [`02_disaggregated_synthetic_control.R`](./02_disaggregated_synthetic_control.R) contains the code to analyse this data and produce school-level effect plots like this:\n\n![The estimated causal effect for a single school](img/trend_plots/trend_ccdf7c91a940.png)\n\nAdditionally, there is code to investigate covariate balance for the schools:\n\n![Plot of covariate balance](img/balance_plot.png)\n\n## Contact\nThis is a project by the [ODISSEI Social Data Science (SoDa)](https://odissei-data.nl/nl/soda/) team.\nDo you have questions, suggestions, or remarks on the technical implementation? File an issue in the\nissue tracker or feel free to contact [Erik-Jan van Kesteren](https://github.com/vankesteren).\n\n\u003cimg src=\"img/soda.png\" alt=\"SoDa logo\" width=\"250px\"/\u003e \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsodascience%2Fschools_synth_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsodascience%2Fschools_synth_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsodascience%2Fschools_synth_test/lists"}