Displaying 2 results from an estimated 2 matches for "rdd_object".
Did you mean:
add_object
2018 Feb 09
0
Covariates in fuzzy RDD with rddtools
...a.complete2$GDPpc.rel, y=data.complete2$GR.rate, z=data.complete2$FitTreat, covar=dummytime, cutpoint = 0.75)
data.RDD1<-rdd_data(x=data.complete2$GDPpc.rel, y=data.complete2$GR.rate, z=data.complete2$FitTreat, covar=cbind(dummytime, dummyreg), cutpoint = 0.75)
reg_para <- rdd_reg_lm(rdd_object=data.RDD, covar.opt = list(strategy= "include"), order = 4)
reg_para1 <- rdd_reg_lm(rdd_object=data.RDD1, covar.opt = list(strategy = "include"), order = 4)
where dummytime and dummyreg are two dummy variables considering time and regional effects.
The problem is that...
2018 Feb 18
0
Instrument in rddtools
...g 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]]