Skip to content

nppackages/scpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

124 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synthetic Control Methods

The scpi package implements estimation, inference and graphical procedures for synthetic control methods, including designs with a single treated unit, multiple treated units and staggered treatment adoption.

  • scdata: data preparation for synthetic control estimation with one treated unit.
  • scdataMulti: data preparation for multiple treated units and staggered adoption.
  • scest: synthetic control point estimation.
  • scpi: synthetic control prediction intervals and related uncertainty summaries.
  • scplot: plots for single-treated-unit synthetic control results.
  • scplotMulti: plots for multiple-treated-unit and staggered-adoption results.

Python Implementation

To install/update in Python type:

pip install scpi_pkg

R Implementation

To install/update in R type:

install.packages('scpi')

Stata Implementation

The Stata implementation relies on Python, which needs to be available in the system. After Python is installed and linked to Stata, install the required Python packages:

pip install luddite scpi_pkg

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/main/stata) replace force

References

Software and Implementation

Technical and Methodological

Funding

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.



Contributors