rdbinselect implements IMSE-optimal data-driven evenly-spaced and quantile-spaced RD plots.
NOTE: this command is no longer mantained, and it is included only for back compatibility. Please use the new command rdplot.
See Calonico, Cattaneo and Titiunik (2015a) and Calonico, Cattaneo and Titiunik (2014b) for a discussion on the results implemented by these commands.
A companion Stata package is described in Calonico, Cattaneo and Titiunik (2014b).rdbinselect(y, x, subset = NULL, c = 0, p = 4,
numbinl = NULL, numbinr = NULL, binselect = "es",
lowerend = NULL, upperend = NULL, scale = 1, hide = FALSE,
par=NULL, title = NULL, x.label = NULL, y.label = NULL,
x.lim = NULL, y.lim = NULL)rdbwselect, rdrobust, rdplotx<-runif(1000,-1,1)
y<-5+3*x+2*(x>=0)+rnorm(1000)
rdbinselect(y,x)Run the code above in your browser using DataLab