rdrobust
implements a local-polynomial RD estimator with robust confidence intervals as proposed in Calonico, Cattaneo and Titiunik (2014a). It also computes alternative procedures available in the literature.
Calonico, Cattaneo and Titiunik (2014b) provides an introduction to this command. Additional details for conventional approaches to conduct inference in the RD design can be found in Imbens and Lemieux (2008), Lee and Lemieux (2010), Dinardo and Lee (2011), and references therein.
A companion Stata
package is described in Calonico, Cattaneo and Titiunik (2014c).rdrobust(y, x, data, subset = NULL, c = 0, p = 1, q = 2, deriv = 0,
fuzzy = NULL, h = NULL, b = NULL, rho = NULL, scalepar = 1,
kernel = "tri", bwselect = "CCT", scaleregul = 1, delta = 0.5,
cvgrid_min = NULL, cvgrid_max = NULL, cvgrid_length = NULL,
cvplot = FALSE, vce = "nn", matches = 3, level = 95,
all = FALSE, model = FALSE, frame = FALSE)
rdbwselect
, rdbinselect
x<-runif(1000,-1,1)
y<-5+3*x+2*(x>=0)+rnorm(1000)
rdrobust(y,x)
Run the code above in your browser using DataLab