Description Usage Arguments Value References See Also Examples
Compute a parametric polynomial regression of the ATE, possibly on the range specified by bandwidth
1 2 3 4 5 6 7 8 |
rdd_object |
Object of class rdd_data created by |
covariates |
TODO |
bw |
A bandwidth to specify the subset on which the parametric regression is estimated |
slope |
Whether slopes should be different on left or right (separate), or the same. |
inference |
Type of inference to conduct: non-parametric one ( |
covar.opt |
Options for the inclusion of covariates. Way to include covariates, either in the main regression ( |
An object of class rdd_reg_np and class lm, with specific print and plot methods
TODO
rdd_bw_ik
Bandwidth selection using the plug-in bandwidth of Imbens and Kalyanaraman (2012)
1 2 3 4 5 6 7 8 |
Loading required package: AER
Loading required package: car
Loading required package: carData
Loading required package: lmtest
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: sandwich
Loading required package: survival
Loading required package: np
Nonparametric Kernel Methods for Mixed Datatypes (version 0.60-9)
[vignette("np_faq",package="np") provides answers to frequently asked questions]
[vignette("np",package="np") an overview]
[vignette("entropy_np",package="np") an overview of entropy-based methods]
### RDD regression: nonparametric local linear###
Bandwidth: 0.2938561
Number of obs: 3200 (left: 1594, right: 1606)
Coefficient:
Estimate Std. Error z value Pr(>|z|)
D 0.079924 0.009465 8.4443 < 2.2e-16 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.