Skip to main content

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

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scpi_pkg-4.0.0-py3-none-any.whl (61.6 kB view details)

Uploaded Python 3

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

Hashes for scpi_pkg-4.0.0.tar.gz
Algorithm Hash digest
SHA256 3de2492bf67099562858281a4d1a994605ca240d35ee5f5648cb5bb8b0841149
MD5 b391bae97d660288e93590bea8ef2c2b
BLAKE2b-256 eed2c7f9d7ad448a1dd737a336e3c32c710c88b724811d3cf32835e40c2e35f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for scpi_pkg-4.0.0.tar.gz:

Publisher: publish-python.yml on nppackages/scpi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for scpi_pkg-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 231a3a8de3576cbf3ee1c23081c6bebb8def106745550597fcbf36b7e4a3791d
MD5 adbe37e0511f2013d94c35aeaea5b97b
BLAKE2b-256 3b3b7f116d568be8b26e468d83a79f1e8edc47e028be698ca2e22dafbc4582c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for scpi_pkg-4.0.0-py3-none-any.whl:

Publisher: publish-python.yml on nppackages/scpi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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