[R] Instrument in rddtools
Chiara Malavasi
chiara.malavasi at live.it
Sun Feb 18 19:23:29 CET 2018
Hello!
I have encountered some problems in implementing the function "rdd_reg_lm" (for the fuzzy case) in the rddtools R package. By looking at the function, I understood that an IV regression is actually implemented automatically by the function but I did not understand where to specify the instrument to be used to clear my treatment variable from endogeneity. The command I used to perform the regression is the following:
rdd_reg_lm(rdd_object=rdd_gr, covar.opt = list(strategy = "include"), order = 4)
where rdd_gr is defined as:
rdd_gr <- rdd_data(x= GDPpc_rel, y= GR.rate, data=data.complete1, covar=Z0, cutpoint = 0.75, z= Treat)
Any help would be very appreciated!
[[alternative HTML version deleted]]
More information about the R-help
mailing list