Hello,
I want to estimate panel regression
yit = a + b*Zit + c*Xt + d*(Zit*Xt) + uit
with either pooled OLS or the FGLS RE estimator. Thereby, Z is a dummy variable, X is a variable which only varies over time but not cross-sectionally, and Z*X is the interaction between dummy variable Z and X. My main interest is in the coefficient estimate for b. According to the Hausman test the RE assumption is fine. So, both pooled OLS and RE should be consistent. Unfortunately, however, the sign of the coefficient estimate for the regression constant and, in particular, for b differs between the OLS and FGLS RE estimator while the other coefficient estimates are very similar. What estimator should I trust more in this case pooled OLS or (more efficient) FGLS RE?
. * RE estimation
. eststo RE: qui xtreg Y Z X XZ, re cluster(id)
. * Pooled OLS estimation
. eststo POLS: qui reg Y Z X XZ, cluster(id)
. * Tabulate the results
. esttab *, mtitles r2(%7.6f) scalars(r2_w) obslast star
--------------------------------------------
(1) (2)
RE POLS
--------------------------------------------
Z 0.387*** -0.493***
(4.22) (-16.97)
X 0.514*** 0.516***
(11.19) (11.65)
XZ 1.332*** 1.316***
(24.12) (20.45)
_cons -0.0776 0.176***
(-0.87) (8.54)
--------------------------------------------
R-sq 0.164138
r2_w 0.165
N 864483 864483
--------------------------------------------
t statistics in parentheses
* p<0.05, ** p<0.01, *** p<0.001
Thanks for sharing your insights on this.
Kind regards,
Daniel
I want to estimate panel regression
yit = a + b*Zit + c*Xt + d*(Zit*Xt) + uit
with either pooled OLS or the FGLS RE estimator. Thereby, Z is a dummy variable, X is a variable which only varies over time but not cross-sectionally, and Z*X is the interaction between dummy variable Z and X. My main interest is in the coefficient estimate for b. According to the Hausman test the RE assumption is fine. So, both pooled OLS and RE should be consistent. Unfortunately, however, the sign of the coefficient estimate for the regression constant and, in particular, for b differs between the OLS and FGLS RE estimator while the other coefficient estimates are very similar. What estimator should I trust more in this case pooled OLS or (more efficient) FGLS RE?
. * RE estimation
. eststo RE: qui xtreg Y Z X XZ, re cluster(id)
. * Pooled OLS estimation
. eststo POLS: qui reg Y Z X XZ, cluster(id)
. * Tabulate the results
. esttab *, mtitles r2(%7.6f) scalars(r2_w) obslast star
--------------------------------------------
(1) (2)
RE POLS
--------------------------------------------
Z 0.387*** -0.493***
(4.22) (-16.97)
X 0.514*** 0.516***
(11.19) (11.65)
XZ 1.332*** 1.316***
(24.12) (20.45)
_cons -0.0776 0.176***
(-0.87) (8.54)
--------------------------------------------
R-sq 0.164138
r2_w 0.165
N 864483 864483
--------------------------------------------
t statistics in parentheses
* p<0.05, ** p<0.01, *** p<0.001
Thanks for sharing your insights on this.
Kind regards,
Daniel
Comment