楼主: chengchao
12144 12

[面板数据求助] Hausman检验没有得到结果怎么办? [推广有奖]

  • 0关注
  • 7粉丝

副教授

74%

还不是VIP/贵宾

-

威望
0
论坛币
19130 个
通用积分
3.9084
学术水平
13 点
热心指数
26 点
信用等级
10 点
经验
16320 点
帖子
331
精华
0
在线时间
1356 小时
注册时间
2007-12-20
最后登录
2024-5-17

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
进行Hausman检验后,没有得到结果如何处理啊?是什么原因导致的?请各位大牛帮忙解答一下!感谢!
. hausman fe re

Note: the rank of the differenced variance matrix (0) does not equal the number of coefficients being tested (9); 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.
-------------+----------------------------------------------------------------
        lnsi |    .0294877     .0294877               0               0
        lnsw |   -.0245635    -.0245635               0               0
        lnsa |   -.0371254    -.0371254               0               0
        lnsc |     .008753      .008753               0               0
      lnopen |   -.0305578    -.0305578               0               0
         cit |   -.8609542    -.8609542               0               0
         inv |   -.0597495    -.0597495               0               0
         hum |    .0327561     .0327561               0               0
         age |   -.6969007    -.6969007               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检验 hausman ausman SMA Man unexpected computing anything possibly problems

沙发
黃河泉 在职认证  发表于 2016-9-20 11:43:29 |只看作者 |坛友微信交流群
請把你使用的指令 show 一下!你是不是估計同樣模型啊?結果都一樣!

使用道具

藤椅
chengchao 发表于 2016-9-20 20:36:17 |只看作者 |坛友微信交流群
黃河泉 发表于 2016-9-20 11:43
請把你使用的指令 show 一下!你是不是估計同樣模型啊?結果都一樣!
xtset region year
gen lnsi=ln(si)
gen lnsw=ln(sw)
gen lnsa=ln(sa)
gen lnsc=ln(sc)
gen lnopen=ln(open)
xtreg theil lnsi lnsw lnsa lnsc lnopen cit inv hum age, fe
xtreg theil lnsi lnsw lnsa lnsc lnopen cit inv hum age, re
quietly theil lnsi lnsw lnsa lnsc lnopen cit inv hum age, fe
estimates store fe
quietly theil lnsi lnsw lnsa lnsc lnopen cit inv hum age, re
estimates store re
hausman fe re
你好,这是我的指令,请指点!

使用道具

板凳
chengchao 发表于 2016-9-20 20:41:54 |只看作者 |坛友微信交流群
chengchao 发表于 2016-9-20 20:36
xtset region year
gen lnsi=ln(si)
gen lnsw=ln(sw)
又检查了一遍,掉了命令。谢谢您啊

使用道具

报纸
黃河泉 在职认证  发表于 2016-9-21 07:55:33 |只看作者 |坛友微信交流群
chengchao 发表于 2016-9-20 20:41
又检查了一遍,掉了命令。谢谢您啊
No problem at all.

使用道具

地板
优雅的胖子 在职认证  学生认证  发表于 2016-10-1 16:19:54 |只看作者 |坛友微信交流群
豪斯曼检验的值如果是负值就不会出现检验结果。建议:
quietly xtreg y x1 x2 x3 x4,re
scalar theta=e(theta)
global yandxforhausman y x1 x2 x3 x4
sort state
foreach x of varlist $yandxforhausman {
by state:egen mean`x'=mean(`x')
gen md`x'=`x'-mean`x'
gen red`x'=`x'-theta*mean`x'
  }
quietly xtreg redy redx1 redx2 redx3 redx4 mdx1 mdx2 mdx3 mdx4,vce(cluster state)
test mdx1 mdx2 mdx3 mdx4      

使用道具

7
极艾伦 发表于 2018-7-8 12:29:16 |只看作者 |坛友微信交流群
黃河泉 发表于 2016-9-21 07:55
No problem at all.
我和楼主出现了同样地情况,但我检查过命令,没有问题,想问下这样的原因还有可能是什么?

使用道具

8
周周1233 发表于 2019-4-11 22:26:28 |只看作者 |坛友微信交流群
楼主解决了吗?

使用道具

9
豆儿豆儿 学生认证  发表于 2019-4-16 11:27:36 |只看作者 |坛友微信交流群
优雅的胖子 发表于 2016-10-1 16:19
豪斯曼检验的值如果是负值就不会出现检验结果。建议:
quietly xtreg y x1 x2 x3 x4,re
scalar theta=e( ...
我的和楼主问题一样,按照您给的解决命令输了一下,输入sort state命令显示state变量没找到,怎么办

使用道具

10
学习mio 发表于 2022-4-20 16:43:48 |只看作者 |坛友微信交流群
chengchao 发表于 2016-9-20 20:36
xtset region year
gen lnsi=ln(si)
gen lnsw=ln(sw)
你试一下,在这个命令gen lnopen=ln(open)之后加这个命令
reg 被解释变量 解释变量
然后再检验fe,储存fe结果;检验re,储存re结果;bp检验,豪斯曼检验,应该p值会出现滴!我就是第一次没加reg条件,出现了你的情况,加了之后就有p值了,毕业顺利!

使用道具

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

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

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

GMT+8, 2024-5-18 00:00