Hi! I have a question regarding the inclusion of time fixed effects when performing a Hausman test to check if the FE and RE estimates are different. The thing is when I include time fixed effects (this would be a different intercept depending on the year) in both regressions (FE and RE) and then perform a Hausman test, the results are different. With time effects, the test says that there is no systematic difference, and with no time effects, it says that there is. Does anyone know why this happens? Here are the results from both test, i have a Panel with few T ( 5 years) and large N.
---- Coefficients ----
| (b) (B) (b-B) sqrt(diag(V_b-V_B))
| FE RE Difference Std. err.
-------------+----------------------------------------------------------------
year |
82 | -.0000241 -.0001338 .0001097 .
83 | -.0022864 -.0023981 .0001117 .
84 | -.0043382 -.0045598 .0002216 .
85 | -.0044366 -.0047974 .0003608 .0001238
86 | -.0017159 -.0021748 .000459 .0002205
87 | -.000194 -.0006824 .0004884 .0003118
prbarr | -.0036857 -.0076683 .0039826 .0005447
prbpris | .0015037 .0008469 .0006567 .
avgsen | .0000501 7.93e-06 .0000422 3.77e-06
polpc | 1.807551 1.793522 .0140289 .0367312
density | .0019644 .0086072 -.0066429 .0046628
taxpc | .0000601 .0000429 .0000172 .0000191
------------------------------------------------------------------------------
b = Consistent under H0 and Ha; obtained from xtreg.
B = Inconsistent under Ha, efficient under H0; obtained from xtreg.
Test of H0: Difference in coefficients not systematic
chi2(12) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 2.51
Prob > chi2 = 0.9981
(V_b-V_B is not positive definite)
---- Coefficients ----
| (b) (B) (b-B) sqrt(diag(V_b-V_B))
| FE RE Difference Std. err.
-------------+----------------------------------------------------------------
prbarr | -.0043323 -.0084376 .0041053 .0005853
prbpris | -.0008256 -.0012595 .0004338 .
avgsen | .0002318 .0001913 .0000405 3.67e-06
polpc | 1.719693 1.717041 .0026518 .0397228
density | -.0001926 .0085742 -.0087667 .0046433
taxpc | .0000463 7.29e-06 .000039 .0000221
------------------------------------------------------------------------------
b = Consistent under H0 and Ha; obtained from xtreg.
B = Inconsistent under Ha, efficient under H0; obtained from xtreg.
Test of H0: Difference in coefficients not systematic
chi2(6) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 13.27
Prob > chi2 = 0.0389
(V_b-V_B is not positive definite)
---- Coefficients ----
| (b) (B) (b-B) sqrt(diag(V_b-V_B))
| FE RE Difference Std. err.
-------------+----------------------------------------------------------------
year |
82 | -.0000241 -.0001338 .0001097 .
83 | -.0022864 -.0023981 .0001117 .
84 | -.0043382 -.0045598 .0002216 .
85 | -.0044366 -.0047974 .0003608 .0001238
86 | -.0017159 -.0021748 .000459 .0002205
87 | -.000194 -.0006824 .0004884 .0003118
prbarr | -.0036857 -.0076683 .0039826 .0005447
prbpris | .0015037 .0008469 .0006567 .
avgsen | .0000501 7.93e-06 .0000422 3.77e-06
polpc | 1.807551 1.793522 .0140289 .0367312
density | .0019644 .0086072 -.0066429 .0046628
taxpc | .0000601 .0000429 .0000172 .0000191
------------------------------------------------------------------------------
b = Consistent under H0 and Ha; obtained from xtreg.
B = Inconsistent under Ha, efficient under H0; obtained from xtreg.
Test of H0: Difference in coefficients not systematic
chi2(12) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 2.51
Prob > chi2 = 0.9981
(V_b-V_B is not positive definite)
---- Coefficients ----
| (b) (B) (b-B) sqrt(diag(V_b-V_B))
| FE RE Difference Std. err.
-------------+----------------------------------------------------------------
prbarr | -.0043323 -.0084376 .0041053 .0005853
prbpris | -.0008256 -.0012595 .0004338 .
avgsen | .0002318 .0001913 .0000405 3.67e-06
polpc | 1.719693 1.717041 .0026518 .0397228
density | -.0001926 .0085742 -.0087667 .0046433
taxpc | .0000463 7.29e-06 .000039 .0000221
------------------------------------------------------------------------------
b = Consistent under H0 and Ha; obtained from xtreg.
B = Inconsistent under Ha, efficient under H0; obtained from xtreg.
Test of H0: Difference in coefficients not systematic
chi2(6) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 13.27
Prob > chi2 = 0.0389
(V_b-V_B is not positive definite)
Comment