rdd_bw_rsw {rddtools} | R Documentation |
Global bandwidth selector of Ruppert, Sheather and Wand (1995) from package KernSmooth
Description
Uses the global bandwidth selector of Ruppert, Sheather and Wand (1995) either to the whole function, or to the functions below and above the cutpoint.
Usage
rdd_bw_rsw(object, type = c("global", "sided"))
Arguments
object |
object of class rdd_data created by |
type |
Whether to choose a global bandwidth for the whole function ( |
Value
One (or two for sided
) bandwidth value.
References
See dpill
See Also
rdd_bw_ik
Local RDD bandwidth selector using the plug-in method of Imbens and Kalyanaraman (2012)
Examples
data(house)
rd<- rdd_data(x=house$x, y=house$y, cutpoint=0)
rdd_bw_rsw(rd)
[Package rddtools version 1.6.0 Index]