Description Usage Arguments Value
View source: R/funcion polinomios 150419.R
no parametric regression discontinuity using polynomial local regression estimator with and without sample weights
1 2 3 |
D |
variable with: 1 for treatment group and 0 for control group |
Z |
continuous variable |
Y |
outcome variable |
c |
cutpoint |
type |
sharp or fuzzy |
TreatLeft |
T if the treatment is applied for below of the cutpoint |
svydesign_ |
design sample using survey library |
vcov_ |
variances and covariances type: HCO, HC1, HC2 y HC3 |
kernel_ |
kernel type: triangular, epanechnikov, tricube, uniform, gaussian y cosine |
h |
bandwidth |
q |
order polynomial |
W |
sample weights 1/pik, NULL if there aren't sample weights |
Impact estimation, e.e. and t test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.