全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
3064 2
2020-03-01
悬赏 50 个论坛币 未解决
我在做关于IIA(无关选择独立性假设)和hausman检验时,如果以默认参照组(默认组是第二组)进行hausman检验时,可以用mlogtest,hausman base

这个命令,并且可以生成结果:
**** Hausman tests of IIA assumption

Ho: Odds(Outcome-J vs Outcome-K) are independent of other alternatives.
You used the old syntax of hausman. Click here to learn about the new syntax.

(storing estimation results as _HAUSMAN)

Omitted |      chi2   df   P>chi2   evidence
---------+------------------------------------
       1 |     0.000    1    1.000   for Ho   
       2 |    -0.000    3    1.000   for Ho   
       3 |     0.000    1    1.000   for Ho   
       4 |     0.000    1    1.000   for Ho   
       5 |    -0.000    2    1.000   for Ho   
       6 |     0.000    1    1.000   for Ho   
       7 |     0.000    1    1.000   for Ho   
       8 |    -0.000    2    1.000   for Ho   
       9 |    -0.000    2    1.000   for Ho   
      10 |     0.000    1    1.000   for Ho   
      11 |    -0.000    3    1.000   for Ho   
      12 |    -0.000    2    1.000   for Ho   
      13 |    -0.000    1    1.000   for Ho   
----------------------------------------------


但是如果我自己去选择参照组(不是默认的)时,就会出现:

**** Hausman tests of IIA assumption

Ho: Odds(Outcome-J vs Outcome-K) are independent of other alternatives.
You used the old syntax of hausman. Click here to learn about the new syntax.

(storing estimation results as _HAUSMAN)
factor-variable and time-series operators not allowed
r(101);



这个是怎么回事?难道mlogtest,hausman base只能对默认组检验吗?
二维码

扫码加我 拉你入群

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

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

全部回复
2021-4-17 18:40:20
楼主,我也遇到了这个问题,请问您解决了么
二维码

扫码加我 拉你入群

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

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

2023-4-22 19:26:15
出现factor-variable and time-series operators not allowed   r(101)是因为在做mlogit回归时,虚拟变量使用了”i.变量“这样的形式,你把虚拟变量写成”变量2-变量5“这样的形式就可以了。
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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