Synthetic Control Methods with Multiple Treated Units and Staggered Adoption
Project description
SCPI_PKG
The scpi_pkg package provides Python implementations of estimation and inference procedures for Synthetic Control methods.
Authors
Matias D. Cattaneo, Princeton University (matias.d.cattaneo@gmail.com)
Yingjie Feng, Tsinghua University (fengyingjiepku@gmail.com)
Filippo Palomba, Princeton University (filippo.palomba19@gmail.com)
Rocio Titiunik, Princeton University (rocio.titiunik@gmail.com)
Website
https://nppackages.github.io/scpi/
Installation
To install/update use pip
pip install scpi_pkg
Usage
from scpi_pkg.scdata import scdata
from scpi_pkg.scdataMulti import scdataMulti
from scpi_pkg.scest import scest
from scpi_pkg.scpi import scpi
from scpi_pkg.scplot import scplot
from scpi_pkg.scplotMulti import scplotMulti
- Replication: Germany reunification example.
Dependencies
- cvxpy (>= 1.1.18)
- dask (>= 2021.04.0)
- ecos (>= 2.0.7)
- luddite (>= 1.0.2)
- numpy (>= 1.20.1)
- pandas (>= 1.5.0)
- plotnine (>= 0.8.0)
- scikit-learn (>= 0.24.1)
- scipy (>= 1.7.1)
- statsmodels (>= 0.12.2)
References
For overviews and introductions, see nppackages website.
Software and Implementation
- Cattaneo, Feng, Palomba, and Titiunik (2025): scpi: Uncertainty Quantification for Synthetic Control Methods. Journal of Statistical Software 113(1): 1-38.
Technical and Methodological
- Cattaneo, Feng, Palomba, and Titiunik (2027): Uncertainty Quantification in Synthetic Controls with Staggered Treatment Adoption. Review of Economics and Statistics, forthcoming.
- Cattaneo, Feng, and Titiunik (2021): Prediction Intervals for Synthetic Control Methods. Journal of the American Statistical Association 116(536): 1865-1880.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scpi_pkg-4.0.0.tar.gz.
File metadata
- Download URL: scpi_pkg-4.0.0.tar.gz
- Upload date:
- Size: 59.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3de2492bf67099562858281a4d1a994605ca240d35ee5f5648cb5bb8b0841149
|
|
| MD5 |
b391bae97d660288e93590bea8ef2c2b
|
|
| BLAKE2b-256 |
eed2c7f9d7ad448a1dd737a336e3c32c710c88b724811d3cf32835e40c2e35f7
|
Provenance
The following attestation bundles were made for scpi_pkg-4.0.0.tar.gz:
Publisher:
publish-python.yml on nppackages/scpi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scpi_pkg-4.0.0.tar.gz -
Subject digest:
3de2492bf67099562858281a4d1a994605ca240d35ee5f5648cb5bb8b0841149 - Sigstore transparency entry: 1705754068
- Sigstore integration time:
-
Permalink:
nppackages/scpi@6bf37e63c8faa72a3fa2c6a940314df9c4d7e6c1 -
Branch / Tag:
refs/tags/v4.0.0 - Owner: https://github.com/nppackages
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@6bf37e63c8faa72a3fa2c6a940314df9c4d7e6c1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file scpi_pkg-4.0.0-py3-none-any.whl.
File metadata
- Download URL: scpi_pkg-4.0.0-py3-none-any.whl
- Upload date:
- Size: 61.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
231a3a8de3576cbf3ee1c23081c6bebb8def106745550597fcbf36b7e4a3791d
|
|
| MD5 |
adbe37e0511f2013d94c35aeaea5b97b
|
|
| BLAKE2b-256 |
3b3b7f116d568be8b26e468d83a79f1e8edc47e028be698ca2e22dafbc4582c2
|
Provenance
The following attestation bundles were made for scpi_pkg-4.0.0-py3-none-any.whl:
Publisher:
publish-python.yml on nppackages/scpi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scpi_pkg-4.0.0-py3-none-any.whl -
Subject digest:
231a3a8de3576cbf3ee1c23081c6bebb8def106745550597fcbf36b7e4a3791d - Sigstore transparency entry: 1705754126
- Sigstore integration time:
-
Permalink:
nppackages/scpi@6bf37e63c8faa72a3fa2c6a940314df9c4d7e6c1 -
Branch / Tag:
refs/tags/v4.0.0 - Owner: https://github.com/nppackages
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@6bf37e63c8faa72a3fa2c6a940314df9c4d7e6c1 -
Trigger Event:
push
-
Statement type: