Skip to content

Prediction and inference procedures for synthetic control methods with multiple treated units and staggered adoption.

License

Notifications You must be signed in to change notification settings

nppackages/scpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCPI

The scpi package provides Python, R and Stata implementations of estimation and inference procedures for synthetic control methods.

This work was supported by the National Science Foundation through grants SES-1947805, SES-2019432, and SES-2241575, and by the National Institutes of Health through grant R01 GM072611-16.

Queries and Requests

Please email: [email protected]

Python Implementation

To install/update in Python type:

pip install scpi_pkg

R Implementation

To install/update in R from CRAN type:

install.packages('scpi')

Stata Implementation

The Stata implementation relies on Python, which needs to be available in the system.

How to install Python

There are at least two ways to install Python:

  1. Download and install Python directly from https://realpython.com/installing-python/.
  2. Download and install Anaconda for Windows, macOS, or Linux.

After Python is installed, please run the following two commands via the Python command line:

pip install luddite
pip install scpi_pkg

How to link Stata and Python

Stata (16.0 or newer) and Python (>=3.8) can be linked following the official tutorial on the Stata blog.

To install/update in Stata type:

net install grc1leg, from("http://www.stata.com/users/vwiggins/") replace force
net install scpi, from(https://raw.githubusercontent.com/nppackages/scpi/master/stata) replace force

References

Software and Implementation

Technical and Methodological



About

Prediction and inference procedures for synthetic control methods with multiple treated units and staggered adoption.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published