Learn R Programming

rdrobust (version 0.90)

rdbwselect_2014: Deprecated Bandwidth Selection Procedures for Local-Polynomial Regression-Discontinuity Estimators.

Description

rdbwselect_2014 is a deprecated command implementing three bandwidth selectors for local polynomial Regression Discontinuity (RD) point estimators and inference procedures, as described in Calonico, Cattaneo and Titiunik (2014). This command is no longer supported or updated, and it is made available only for backward compatibility purposes. Please use rdbwselect instead. The latest version of the rdrobust package includes the following commands: rdrobust for point estimation and inference procedures. rdbwselect for data-driven bandwidth selection. rdplot for data-driven RD plots. For more details, and related Stata and R packages useful for analysis of RD designs, visit https://sites.google.com/site/rdpackages/

Usage

rdbwselect_2014(y, x, subset = NULL, c = 0, p = 1, q = 2, deriv = 0,
              rho = NULL, kernel = "tri", bwselect = "CCT", scaleregul = 1,
              delta = 0.5, cvgrid_min = NULL, cvgrid_max = NULL, 
              cvgrid_length = NULL, cvplot = FALSE, vce = "nn", matches = 3, 
              all = FALSE, precalc = TRUE )

Arguments

Value

bwsmatrix containing the estimated bandwidths for each selected procedure.bwselectbandwidth selection procedure employed.kernelkernel function used to construct the local-polynomial estimator(s).porder of the local-polynomial used to construct the point-estimator.qorder of the local-polynomial used to construct the bias-correction estimator.

References

Calonico, S., Cattaneo, M. D., and R. Titiunik. 2014a. "Robust Nonparametric Confidence Intervals for Regression-Discontinuity Designs." Econometrica 82(6): 2295-2326, November 2014. http://www-personal.umich.edu/~cattaneo/papers/Calonico-Cattaneo-Titiunik_2014_ECMA.pdf.

See Also

rdrobust, rdplot

Examples

Run this code
x<-runif(1000,-1,1)
y<-5+3*x+2*(x>=0)+rnorm(1000)
rdbwselect_2014(y,x)

Run the code above in your browser using DataLab