Description Usage Arguments Value
Calculate sharp RD estimate and its variance given a bandwidth using local
polynomial regression of order order
.
1 2 
d 
object of class 
hp, hm 
bandwidth for treated (units with positive running variable),
and control (units with negative running variable) units. If 
kern 
specifies kernel function used in the local regression. It can
either be a string equal to 
order 
Order of local regression 1 for linear, 2 for quadratic. 
se.method 
Vector with methods for estimating standard error of
estimate. If

no.warning 
Don't warn about too few observations 
J 
Number of nearest neighbors, if "nn" is specified in

list with elements:
point estimate
Named vector of standard error estimates, as specified
by se.method
.
Implicit weight functions used
Estimates of sigma^2(X) for values of
running variable below (above) cutoff and receiving positive
kernel weight. By default, estimates are based on squared
regression residuals, as used in "EHW"
. If
"demeaned"
or "nn"
is specified, estimates are
based on that method, with "nn"
method used if both are
specified.
Number of effective observations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.