The rdpower package provides Stata and R power and sample size calculations using robust bias-corrected local polynomial inference methods. This work was supported by the National Science Foundation through grant SES-1357561.

For software and implementation details see:
Implementation in Stata
  • To install/update in Stata type:
net install rdpower, from(https://sites.google.com/site/rdpackages/rdpower/stata) replace
Implementation in R
  • To install/update in R type:
install.packages('rdpower')
Last update: October 28, 2019.