The rdpower package provides Stata and R power and sample size calculations using robust bias-corrected local polynomial inference methods. This work is supported by the National Science Foundation through grant SES-1357561.
For software and implementation details see:
- Cattaneo, Titiunik and Vazquez-Bare (2018): Power Calculations for Regression Discontinuity Designs, Stata Journal, forthcoming.
Implementation in Stata
-
To install/update in Stata type:
net install rdpower, from(https://sites.google.com/site/rdpackages/rdpower/stata) replaceor
github install iphone7725/rdpower -
Help files: rdpower, rdsampsi -- Replication files: do-file, data-senate
-
Repository for manual installation: https://sites.google.com/site/rdpackages/rdpower/stata
Implementation in R
-
To install/update in R type:
install.packages('rdpower') -
Manual -- Replication files: R-script, data-senate
-
CRAN repository
Last update: August 20, 2018.