Dear Statalisters:
I want to control for regional-specific time trends in my FE-IV model (individual fixed effects and standard errors are cluster at individual level), so I tried several ways of coding:
i).
ii).
For the male sample, these two codes report the same results, however, for the student sample they report different results.
I further used xtivreg, the code is as below:
xtivreg reposts result different from the results from both above two codes.
Can anyone tell me how I can correctly include regional-specific time trends in the FE-IV model?
Thank you very much!!
I want to control for regional-specific time trends in my FE-IV model (individual fixed effects and standard errors are cluster at individual level), so I tried several ways of coding:
i).
Code:
ivreghdfe y (x=z) c.year##i.region, absorb(pid) cluster(pid)
Code:
ivreghdfe y (x=z), absorb (c.year##i.region) cluster(pid)
I further used xtivreg, the code is as below:
Code:
xtset pid year xtivreg y (x=z) c.year##i.region, vce(cluster pid) fe
Can anyone tell me how I can correctly include regional-specific time trends in the FE-IV model?
Thank you very much!!
Comment