powered by
Calls the DCdensity test from package rdd on a rdd_object.
DCdensity
rdd
rdd_object
dens_test(rdd_object, bin = NULL, bw = NULL, plot = TRUE, ...)
object of class rdd_data
Argument of the DCdensity function, the binwidth
Argument of the DCdensity function, the bandwidth
Whether to return a plot. Logical, default ot TRUE.
Further arguments passed to DCdensity.
# NOT RUN { data(house) house_rdd <- rdd_data(y=house$y, x=house$x, cutpoint=0) dens_test(house_rdd) # }
Run the code above in your browser using DataLab