Skip to main content

The package computes point estimates and prediction intervals for Synthetic Control methods with multiple treated units and staggered adoption as proposed in Cattaneo, Feng, Palomba, and Titiunik (2024).

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

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

Technical and Methodological

Project details


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.9.tar.gz (59.0 kB view details)

Uploaded Source

Built Distribution

scpi_pkg-2.2.9-py3-none-any.whl (62.0 kB view details)

Uploaded Python 3

File details

Details for the file scpi_pkg-2.2.9.tar.gz.

File metadata

  • Download URL: scpi_pkg-2.2.9.tar.gz
  • Upload date:
  • Size: 59.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for scpi_pkg-2.2.9.tar.gz
Algorithm Hash digest
SHA256 ec9c3dfaf2a610a401c038504fce4a0482ef03cb772003da7dcfb517e4704b99
MD5 76dacf92701eaa5a97ebf966947d1453
BLAKE2b-256 5b67dcbc4d8ac1dd16b3ce15a5d65813fe29dbcd12777f876403c9e0f2d663a8

See more details on using hashes here.

File details

Details for the file scpi_pkg-2.2.9-py3-none-any.whl.

File metadata

  • Download URL: scpi_pkg-2.2.9-py3-none-any.whl
  • Upload date:
  • Size: 62.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for scpi_pkg-2.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7ed99880decbf75e7a164b9a5abbc74f695e30dce505850c5ce41f82ab1fe8b5
MD5 f77735560f8680f0ebb42b8d25bb2192
BLAKE2b-256 0c75caf62d197183afd67c32d36e6aa9e0c54842fe6a2a9fe726b17e65b954af

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page