Description Usage Arguments Value Author(s) References
IKbandwidth
calculates the Imbens-Kalyanaraman optimal bandwidth
for local linear regression in Regression discontinuity designs.
1 | IKbandwidth(X, Y, cutpoint = NULL, verbose = FALSE, kernel = "triangular")
|
X |
a numerical vector which is the running variable |
Y |
a numerical vector which is the outcome variable |
cutpoint |
the cutpoint |
verbose |
logical flag indicating whether to print more information to the terminal. Default is |
kernel |
string indicating which kernel to use. Options are |
The optimal bandwidth
Drew Dimmery <drewd@nyu.edu>
Imbens, Guido and Karthik Kalyanaraman. (2009) "Optimal Bandwidth Choice for the regression discontinuity estimator," NBER Working Paper Series. 14726. http://www.nber.org/papers/w14726
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.