rdd_bw_rsw: Global bandwidth selector of Ruppert, Sheather and Wand...

Description Usage Arguments Value References See Also Examples

View source: R/bw_rot.R

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

1
rdd_bw_rsw(object, type = c("global", "sided"))

Arguments

object

object of class rdd_data created by rdd_data

type

Whether to choose a global bandwidth for the whole function (global) or for each side (sided)

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

1
2
3
data(house)
rd<- rdd_data(x=house$x, y=house$y, cutpoint=0)
rdd_bw_rsw(rd)

bquast/RDDtools documentation built on Aug. 8, 2020, 7:46 a.m.