楼主: lxl0471
2272 2

[Stata高级班] hausman检验问题 [推广有奖]

  • 6关注
  • 5粉丝

VIP

教授

81%

还不是VIP/贵宾

-

威望
0
论坛币
1780573 个
通用积分
363.1525
学术水平
13 点
热心指数
16 点
信用等级
17 点
经验
3080 点
帖子
542
精华
0
在线时间
2619 小时
注册时间
2005-2-14
最后登录
2024-4-28

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
在做hausman检验时出现以下提示:
        the rank of the differenced variance matrix (2) does not equal the number of coefficients being tested (4); 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.

请教这是什么原因造成的?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Hausman检验 hausman ausman Aus Man 检验 hausman

沙发
arlionn 在职认证  发表于 2009-8-10 11:16:33 |只看作者 |坛友微信交流群
把完整的检验过程贴出来,我不是“神医”,无法根据这么简单的信息作出判断,呵呵。

使用道具

藤椅
lxl0471 发表于 2009-8-10 12:15:50 |只看作者 |坛友微信交流群
xtreg  v4 v5 v10 lnv7,fe
Fixed-effects (within) regression               Number of obs      =       180
Group variable (i): v1                          Number of groups   =        36
R-sq:  within  = 0.8536                         Obs per group: min =         5
       between = 0.9035                                        avg =       5.0
       overall = 0.8965                                        max =         5
                                                F(3,141)           =    274.08
corr(u_i, Xb)  = 0.2418                         Prob > F           =    0.0000
------------------------------------------------------------------------------
          v4 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
          v5 |   1302.331   144.1842     9.03   0.000     1017.289    1587.374
         v10 |   .0303081   .0012586    24.08   0.000     .0278199    .0327963
        lnv7 |  -9144.074   4398.437    -2.08   0.039    -17839.48   -448.6656
       _cons |   141985.3   91641.91     1.55   0.124    -39184.47    323155.1
-------------+----------------------------------------------------------------
     sigma_u |  26434.241
     sigma_e |  13101.292
         rho |  .80280182   (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0:     F(35, 141) =    19.09             Prob > F = 0.0000

. xtreg   v4 v5 v10 lnv7,re
Random-effects GLS regression                   Number of obs      =       180
Group variable (i): v1                          Number of groups   =        36
R-sq:  within  = 0.8535                         Obs per group: min =         5
       between = 0.9032                                        avg =       5.0
       overall = 0.8965                                        max =         5
Random effects u_i ~ Gaussian                   Wald chi2(3)       =   1129.69
corr(u_i, X)       = 0 (assumed)                Prob > chi2        =    0.0000
------------------------------------------------------------------------------
          v4 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
          v5 |    1369.91   111.8272    12.25   0.000     1150.732    1589.087
         v10 |    .030744   .0011995    25.63   0.000      .028393    .0330949
        lnv7 |  -8760.225   3785.156    -2.31   0.021    -16178.99   -1341.456
       _cons |   130269.8    78533.4     1.66   0.097    -23652.87    284192.4
-------------+----------------------------------------------------------------
     sigma_u |  25907.499
     sigma_e |  13101.292
         rho |  .79635117   (fraction of variance due to u_i)
-----------------------------------------------------------------------------
hausman r1
Note: the rank of the differenced variance matrix (2) 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))
             |       r1           r2         Difference          S.E.
-------------+----------------------------------------------------------------
          v5 |    1302.331      1369.91       -67.57836        91.01519
         v10 |    .0303081      .030744       -.0004359        .0003813
        lnv7 |   -9144.074    -8760.225       -383.8485        2240.277
------------------------------------------------------------------------------
                           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(2) = (b-B)'[(V_b-V_B)^(-1)](b-B)
                          =        0.57
                Prob>chi2 =      0.7534

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-28 20:56