全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2949 3
2017-10-03

qui xtreg Y X1 X2 X3 X4 X5 X6,re

est store ols

qui xtivreg Y X3 X4 X5 X6(X1=l.X1 X2=L.X2),re

est store IV

hausman IV ols

     [url=]     ----Coefficients ----[/url]

             |      (b)          (B)            (b-B)     sqrt(diag(V_b-V_B))

             |       IV          ols         Difference          S.E.

-------------+----------------------------------------------------------------

          X1 |  -3.710397    -1.676237        -2.03416        1.424533

        X2 |  -.5779464     .0474369       -.6253832        .3050339

       X3 |   .9867464      1.75292       -.7661734               .

        X4 |  -.4927819    -.5600477        .0672657               .

        X5|   .8044113     .1673918        .6370194               .

  X6 |   2.973096     1.614825        1.358271        .0657908

------------------------------------------------------------------------------

                         b = consistent underHo and Ha; obtained from xtivreg

            B = inconsistent under Ha,efficient under Ho; obtained from xtreg

    Test: Ho:  difference in coefficientsnot systematic

                  chi2(6) =(b-B)'[(V_b-V_B)^(-1)](b-B)

                          =  -122.00   chi2<0 ==> model fitted on these

                                        datafails to meet the asymptotic

                                       assumptions of the Hausman test;

                                        seesuest for a generalized test[a1]


[a1]




Hausman检验为负,STATA dmexogxt仅适用于FE模型,怎么办
二维码

扫码加我 拉你入群

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

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

全部回复
2017-10-3 12:26:01
不应该是xtivreg那个模型吗
二维码

扫码加我 拉你入群

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

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

2017-10-3 15:12:57
qiangli 发表于 2017-10-3 12:26
不应该是xtivreg那个模型吗
为什么呢?
二维码

扫码加我 拉你入群

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

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

2022-3-8 11:30:11
想请问楼主的问题解决了吗?我也遇到了类似的问题
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群