ywh19860616 发表于 2014-3-12 18:40 
hausman检验矩阵出现了非正定,你加上
sigmamore 或者 sigmaless 选项试试。
hausman fe,sigmamore
Note: the rank of the differenced variance matrix (0) does not equal the number of coefficients being tested (3); be sure this is
what you expect, or there may be problems computing the test. Examine the output of your estimators for anything unexpected
and possibly consider scaling your variables so that the coefficients are on a similar scale.
---- Coefficients ----
| (b) (B) (b-B) sqrt(diag(V_b-V_B))
| fe re Difference S.E.
-------------+----------------------------------------------------------------
x1 | .0010005 .0010005 0 0
x2 | 234.8571 234.8571 0 0
x3 | -.0165454 -.0165454 0 0
------------------------------------------------------------------------------
b = consistent under Ho and Ha; obtained from xtreg
B = inconsistent under Ha, efficient under Ho; obtained from xtreg
Test: Ho: difference in coefficients not systematic
chi2(0) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 0.00
Prob>chi2 = .
(V_b-V_B is not positive definite)
hausman fe,sigmaless
Note: the rank of the differenced variance matrix (0) does not equal the number of coefficients being tested (3); be sure this is
what you expect, or there may be problems computing the test. Examine the output of your estimators for anything unexpected
and possibly consider scaling your variables so that the coefficients are on a similar scale.
---- Coefficients ----
| (b) (B) (b-B) sqrt(diag(V_b-V_B))
| fe re Difference S.E.
-------------+----------------------------------------------------------------
x1 | .0010005 .0010005 0 0
x2 | 234.8571 234.8571 0 0
x3 | -.0165454 -.0165454 0 0
------------------------------------------------------------------------------
b = consistent under Ho and Ha; obtained from xtreg
B = inconsistent under Ha, efficient under Ho; obtained from xtreg
Test: Ho: difference in coefficients not systematic
chi2(0) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 0.00
Prob>chi2 = .
(V_b-V_B is not positive definite)
.