Skip to content

rdpackages/rdpower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Power and Sample Size Calculations for RD designs

The package rdpower implements power, sample size, and minimum detectable effect calculations for Regression Discontinuity (RD) designs using local polynomial methods.

  • rdpower: ex-post power calculations for RD treatment effects.
  • rdsampsi: required sample size calculations for target power.
  • rdmde: minimum detectable effect calculations.

Python Implementation

To install/update in Python type:

pip install rdpower

R Implementation

To install/update in R type:

install.packages('rdpower')

When the latest rdrobust is available on GitHub before CRAN, install it first:

install.packages('remotes')
remotes::install_github('rdpackages/rdrobust', subdir = 'R/rdrobust')

Stata Implementation

To install/update in Stata type:

net install rdrobust, from(https://raw.githubusercontent.com/rdpackages/rdrobust/main/stata) replace
net install rdpower, from(https://raw.githubusercontent.com/rdpackages/rdpower/main/stata) replace

References

For overviews and introductions, see the rdpackages website.

Software and Implementation

Technical and Methodological

Funding

This work was supported in part by the National Science Foundation through grant SES-1357561.

Releases

No releases published

Contributors