The package computes point estimates and prediction intervals for Synthetic Control methods as proposed in Cattaneo, Feng, and Titiunik (2021).
Project description
SCPI_PKG
The scpi_pkg
package provides Python implementations of estimation and inference procedures for Synthetic Control methods.
Authors
Matias D. Cattaneo (cattaneo@princeton.edu)
Yingjie Feng (fengyj@sem.tsinghua.edu.cn)
Filippo Palomba (fpalomba@princeton.edu)
Rocio Titiunik (titiunik@princeton.edu)
Website
https://nppackages.github.io/scpi/
Installation
To install/update use pip
pip install scpi_pkg
Usage
from from scpi_pkg.scdata import scdata
from 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 (2022) scpi: Uncertainty Quantification for Synthetic Control Estimators.
Technical and Methodological
- Cattaneo, Feng, and Titiunik (2021): Prediction Intervals for Synthetic Control Methods.
<br>
Journal of the American Statistical Association. - Cattaneo, Feng, Palomba, and Titiunik (2022): Uncertainty Quantification in Synthetic Controls with Staggered Treatment Adoption, working paper.
<br><br>
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
scpi_pkg-2.2.5.1.tar.gz
(57.1 kB
view hashes)
Built Distribution
scpi_pkg-2.2.5.1-py3-none-any.whl
(60.1 kB
view hashes)
Close
Hashes for scpi_pkg-2.2.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d730c0f281811f87f9a7b871c34ccbca278ca5141d43e5c2cb13587a0c47ba6 |
|
MD5 | d18cfe686f192d376e4feff7dafdeb20 |
|
BLAKE2b-256 | 1f118375d3f094696f72b7203aa6bbdb74813ed0d43525ff95bfa461b11cd2f9 |