Note that you are not using absorb() to partial out the FEs, so in practice you are just using ivreg2.
If what you want is to partial out some variables such as "time" then instead of
ivreghdfe righttotax i.time (i.treatment i.time#i.treatment= i.instrument i.time#i.instrument) [pw = ate_wgt2], vce(cluster district) You would want to do:
ivreghdfe righttotax (i.treatment i.time#i.treatment= i.instrument i.time#i.instrument) [pw = ate_wgt2], vce(cluster district) absorb(time) However, not sure if this is what you want
If what you want is to partial out some variables such as "time" then instead of
ivreghdfe righttotax i.time (i.treatment i.time#i.treatment= i.instrument i.time#i.instrument) [pw = ate_wgt2], vce(cluster district) You would want to do:
ivreghdfe righttotax (i.treatment i.time#i.treatment= i.instrument i.time#i.instrument) [pw = ate_wgt2], vce(cluster district) absorb(time) However, not sure if this is what you want
Comment