{"id":13665690,"url":"https://github.com/sdfordham/pysyncon","last_synced_at":"2025-10-27T11:38:59.573Z","repository":{"id":65338683,"uuid":"580586322","full_name":"sdfordham/pysyncon","owner":"sdfordham","description":"A python module for the synthetic control method","archived":false,"fork":false,"pushed_at":"2024-07-21T23:06:26.000Z","size":2684,"stargazers_count":37,"open_issues_count":1,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-12T10:53:28.003Z","etag":null,"topics":["augsynth","causal-inference","synth","synthetic-control-method"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sdfordham.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-20T23:34:55.000Z","updated_at":"2024-08-08T13:26:13.000Z","dependencies_parsed_at":"2023-11-19T15:38:43.053Z","dependency_job_id":"4b095b05-07f5-440b-8efd-9d0f6f7bb71f","html_url":"https://github.com/sdfordham/pysyncon","commit_stats":{"total_commits":150,"total_committers":1,"mean_commits":150.0,"dds":0.0,"last_synced_commit":"1377549768a352dbc24c7a7db8970be4888096ad"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdfordham%2Fpysyncon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdfordham%2Fpysyncon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdfordham%2Fpysyncon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdfordham%2Fpysyncon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdfordham","download_url":"https://codeload.github.com/sdfordham/pysyncon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224031926,"owners_count":17244361,"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":["augsynth","causal-inference","synth","synthetic-control-method"],"created_at":"2024-08-02T06:00:47.536Z","updated_at":"2025-10-27T11:38:59.567Z","avatar_url":"https://github.com/sdfordham.png","language":"Python","funding_links":[],"categories":["Python","Synthetic Control","Causal Inference and Econometrics"],"sub_categories":["Frontier Tools"],"readme":"\n\n# pysyncon ![](https://img.shields.io/badge/python-3.8+-blue.svg) [![codecov](https://codecov.io/gh/sdfordham/pysyncon/graph/badge.svg?token=hmi7xHQ4OT)](https://codecov.io/gh/sdfordham/pysyncon)\n\nA python module for the synthetic control method that provides implementations of:\n\n- Synthetic Control Method (Abadie \u0026 Gardeazabal 2003)\n- Robust Synthetic Control Method (Amjad, Shah \u0026 Shen 2018)\n- Augmented Synthetic Control Method (Ben-Michael, Feller \u0026 Rothstein 2021)\n- Penalized Synthetic Control Method (Abadie \u0026 L'Hour 2021)\n\nThe package also provides methods for performing placebo tests and generating confidence intervals.\n\nThe implementation of the synthetic control method aims to be reconcilable with the R package [Synth](https://CRAN.R-project.org/package=Synth) and similarly the implementation of the Augmented synthetic control method and the R package [augsynth](https://github.com/ebenmichael/augsynth).\n\n## Installation\nInstall it from PyPI using pip:\n\n````bash\npython -m pip install pysyncon\n````\n\n## Usage\n\nDocumentation is available on [github-pages](https://sdfordham.github.io/pysyncon/). In the examples folder are notebooks reproducing the weights from:\n\n- The Economic Costs of Conflict: A Case Study of the Basque Country, Alberto Abadie and Javier Gardeazabal; The American Economic Review Vol. 93, No. 1 (Mar., 2003), pp. 113-132. ([notebook here](examples/basque.ipynb))\n- The worked example 'Prison construction and Black male incarceration' from the last chapter of 'Causal Inference: The Mixtape' by Scott Cunningham. ([notebook here](examples/texas.ipynb))\n- Comparative Politics and the Synthetic Control Method, Alberto Abadie, Alexis Diamond and Jens Hainmueller; American Journal of Political Science Vol. 59, No. 2 (April 2015), pp. 495-510. ([notebook here](examples/germany.ipynb))\n\n## Citation\n\nIf you use this package in your research, you can cite it as below.\n\n```\n@software{pysyncon,\n  author = {Fordham, Stiofán},\n  month = dec,\n  title = {{pysyncon: a Python package for the Synthetic Control Method}},\n  url = {https://github.com/sdfordham/pysyncon},\n  year = {2022}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdfordham%2Fpysyncon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdfordham%2Fpysyncon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdfordham%2Fpysyncon/lists"}