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]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.