Hi all,
I currently analyzing a large panel dataset with N=700 T=125. My dataset suffers from both cross-sectional and time-series correlation; therefore, robust standard errors are downward biased because it only corrects for time-series correlation.
In order to adjust standard errors for both issues, I use the following three models:
1) fixed-effect with time dummy and cluster by id:
2) fixed-effect with multiway clustering:
3) fixed-effect with Driscoll and Kraay standard errors:
Model (2) and (3) are recommended to me in a previous post.
My main concern is that I am getting a different coefficient of x when I run model (3) - xtscc - than when I run model (1) and (2). Also, the r-squared is significantly larger when I run model (1) and (2).
I would appreciate it if someone can clarify the issue I am facing as I am not an advance stata user.
Thank you.
I currently analyzing a large panel dataset with N=700 T=125. My dataset suffers from both cross-sectional and time-series correlation; therefore, robust standard errors are downward biased because it only corrects for time-series correlation.
In order to adjust standard errors for both issues, I use the following three models:
1) fixed-effect with time dummy and cluster by id:
Code:
xtreg y x i.time, fe vce(cluster id)
Code:
reghdfe y x, absorb(id time) vce(cluster id time)
Code:
xtscc y x, fe
My main concern is that I am getting a different coefficient of x when I run model (3) - xtscc - than when I run model (1) and (2). Also, the r-squared is significantly larger when I run model (1) and (2).
I would appreciate it if someone can clarify the issue I am facing as I am not an advance stata user.
Thank you.
Comment