楼主: Sub-Alex
1107 0

[回归分析求助] 求助高手,clogit如何进行IIA检验? [推广有奖]

  • 1关注
  • 0粉丝

大专生

53%

还不是VIP/贵宾

-

威望
0
论坛币
474 个
通用积分
29.0640
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
466 点
帖子
39
精华
0
在线时间
45 小时
注册时间
2020-6-30
最后登录
2025-11-12

楼主
Sub-Alex 发表于 2024-9-2 11:29:56 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
看陈强老师的高级计量经济学及stata运用clogit回归的相关部分时,书上只说了怎么进行回归,没说怎么检验IIA,help IIA之后:

IIA的语句为:
iia depvar varlist [if exp] [in exp] [weight], group(varname)
            code(varname) [ clogit-options ]

相关描述为:
Estimates McFadden's discrete choice model (with clogit) and subsequently
performs Hausman tests for the assumption of "independence of irrelevant
alternatives" (IIA) for each of the alternatives.

即,从相关描述来看,这个IIA命令可以进行clogit回归,并在回归之后进行IIA检验

例子为:
We have data on choices of means of transportation by a number of subjects. For
each subject and for each of his feasible alternatives (e.g., car, public
transportation, bike/walk) our data comprises measures of the monetary costs
(money), the time costs (time), and the "comfort costs" (comfort). clogit and
hence iia requires a data organization in which each (subject,alternative)
combination is described in a seperate record. In your data you have to have
variables that identify subjects (say respnr) and alternative (say means). Then

    . iia choice money time comfort, group(respnr) code(means)

然后,我照猫画虎,输入:
iia  choice train bus time invc,group(id) code(mode)
出现提示:
Hausman's test for assumption of "Independence of Irrelevant Alternatives"

Category   #obs    Hausman    df      p
-----------------------------------------
option nodisplay not allowed


所以是哪里出问题呢?option nodisplay not allowed是不是说 IIA命令中的[ clogit-options ]必须要有?那么这个 [ clogit-options ]又是指什么呢?
二维码

扫码加我 拉你入群

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

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

关键词:clogit logit 求助高手 IIA CLO

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-29 16:45