{"id":17790400,"url":"https://github.com/bquistorff/synth_runner","last_synced_at":"2025-04-02T01:18:41.432Z","repository":{"id":83764051,"uuid":"49691624","full_name":"bquistorff/synth_runner","owner":"bquistorff","description":"A tool to run a pool of synthetic controls, conduct inference, and produce visualizations.","archived":false,"fork":false,"pushed_at":"2021-11-14T15:55:08.000Z","size":7496,"stargazers_count":43,"open_issues_count":10,"forks_count":26,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-07T16:34:16.875Z","etag":null,"topics":["stata"],"latest_commit_sha":null,"homepage":null,"language":"Stata","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bquistorff.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-01-15T02:39:50.000Z","updated_at":"2024-10-29T14:37:29.000Z","dependencies_parsed_at":"2023-10-20T18:35:41.893Z","dependency_job_id":null,"html_url":"https://github.com/bquistorff/synth_runner","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bquistorff%2Fsynth_runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bquistorff%2Fsynth_runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bquistorff%2Fsynth_runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bquistorff%2Fsynth_runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bquistorff","download_url":"https://codeload.github.com/bquistorff/synth_runner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246735325,"owners_count":20825223,"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":["stata"],"created_at":"2024-10-27T10:43:31.571Z","updated_at":"2025-04-02T01:18:41.381Z","avatar_url":"https://github.com/bquistorff.png","language":"Stata","funding_links":[],"categories":[],"sub_categories":[],"readme":"synth_runner\n========\n\nAutomation for multiple Synthetic Control estimations in Stata.\n\nInstallation\n=======\n\nAs a pre-requisite, the `synth` package needs to be installed. (The `all` option is necessary to install the accompanying dataset used in further examples.)\n\n```Stata\nssc install synth, all\n```\n\nTo install the `synth_runner` package with Stata v13 or greater\n\n```Stata\ncap ado uninstall synth_runner //in-case already installed\nnet install synth_runner, from(https://raw.github.com/bquistorff/synth_runner/master/) replace\n```\n\nFor Stata version \u003c13, use the \"Download ZIP\" button above, unzip to a directory, and then replace the above `net install` with\n\n```Stata\nnet install synth_runner, from(full_local_path_to_files) replace\n```\n\nUsage\n=======\nNote: that the `synth` package's dataset might have a different name. It was originally uploaded as `smoking`, then for a while the dataset installed was incorrect (there was a name collision with another package), and now the dataset is correct and named `synth_smoking`.\n```\nsysuse synth_smoking, clear\ntsset state year\nsynth_runner cigsale beer(1984(1)1988) lnincome(1972(1)1988) retprice age15to24 cigsale(1988) cigsale(1980) cigsale(1975), ///\n\ttrunit(3) trperiod(1989) gen_vars\nsingle_treatment_graphs, trlinediff(-1) raw_gname(cigsale1_raw) ///\n\teffects_gname(cigsale1_effects) effects_ylabels(-30(10)30) effects_ymax(35) effects_ymin(-35)\n\neffect_graphs , trlinediff(-1) effect_gname(cigsale1_effect) tc_gname(cigsale1_tc)\n\t\npval_graphs , pvals_gname(cigsale1_pval) pvals_std_gname(cigsale1_pval_t)\n```\n\nHelp\n=======\nSee the [HTML version of the package help](https://rawgit.com/bquistorff/synth_runner/master/code/ado/synth_runner.html) or the accompanying [article](writeups/synth_runner_sj.pdf) for more info.\n\nContributing\n=======\nIf you think you've encountered a bug, try installing the latest version. If it still persists see if an existing issue notes this problem. If the problem is new, file a [new issue](https://github.com/bquistorff/synth_runner/issues/new) and filling out the checklist so that there is enough information to diagnose the issue.\n\nFor developement, there are additional dependencies. If you change help files you will need the package. `bash`/`make` are optional (you can look through the makefile and manually run those tasks).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbquistorff%2Fsynth_runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbquistorff%2Fsynth_runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbquistorff%2Fsynth_runner/lists"}