Metadata-Version: 2.4
Name: scpi_pkg
Version: 4.0.0
Summary: Synthetic Control Methods with Multiple Treated Units and Staggered Adoption
Home-page: https://nppackages.github.io/scpi/
Author: Matias D. Cattaneo, Yingjie Feng, Filippo Palomba, Rocio Titiunik
Author-email: Matias D. Cattaneo <matias.d.cattaneo@gmail.com>, Yingjie Feng <fengyingjiepku@gmail.com>, Filippo Palomba <filippo.palomba19@gmail.com>, Rocio Titiunik <rocio.titiunik@gmail.com>
Maintainer: Matias D. Cattaneo
Maintainer-email: matias.d.cattaneo@gmail.com
License: GPL-3.0-only
Project-URL: Homepage, https://nppackages.github.io/scpi/
Project-URL: Source, https://github.com/nppackages/scpi
Project-URL: Bug Tracker, https://github.com/nppackages/scpi/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cvxpy>=1.1.18
Requires-Dist: dask>=2021.04.0
Requires-Dist: ecos>=2.0.7
Requires-Dist: luddite>=1.0.2
Requires-Dist: mizani>=0.8.1
Requires-Dist: numpy>=1.20.1
Requires-Dist: pandas>=1.5.0
Requires-Dist: plotnine>=0.8.0
Requires-Dist: scikit-learn>=0.24.1
Requires-Dist: scipy>=1.7.1
Requires-Dist: statsmodels>=0.12.2
Dynamic: license-file

# 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](https://github.com/nppackages/scpi/blob/main/Python/scpi_illustration.py).

## 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](https://nppackages.github.io/).

### Software and Implementation

- Cattaneo, Feng, Palomba, and Titiunik (2025): [scpi: Uncertainty Quantification for Synthetic Control Methods](https://nppackages.github.io/references/Cattaneo-Feng-Palomba-Titiunik_2025_JSS.pdf).
  _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](https://nppackages.github.io/references/Cattaneo-Feng-Palomba-Titiunik_2027_RESTAT.pdf).
  _Review of Economics and Statistics_, forthcoming.
- Cattaneo, Feng, and Titiunik (2021): [Prediction Intervals for Synthetic Control Methods](https://nppackages.github.io/references/Cattaneo-Feng-Titiunik_2021_JASA.pdf).
  _Journal of the American Statistical Association_ 116(536): 1865-1880.
