全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
10431 10
2018-06-07
各位大神好,
      因变量为(非常不喜欢1,不喜欢2,中立3,喜欢4,非常喜欢5),多分类变量的四期面板数据,想做固定效应模型或随机效应模型,看书上说的多分类变量要用mlogit,可是口令mlogit y x1 x2 x3, fe无法成功运行,只是回归是可以的,但mlogit y x1 x2 x3 无法看出面板数据了吧;
      另外一本书上写的口令为:xtreg,  xtreg y x1 x2 x3, fe,倒是可以跑出来结果,但是这个是不是就无法体现出多分类变量了,并且xtreg y x1 x2 x3, fe irr 口令无法运行。
      求助各位大神,这是什么原因导致。
二维码

扫码加我 拉你入群

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

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

全部回复
2018-6-8 07:59:25

    Ordinal-outcome estimators

        xtologit      Random-effects ordered logistic models
        xtoprobit     Random-effects ordered probit models


二维码

扫码加我 拉你入群

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

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

2018-6-8 10:42:17
蓝色 发表于 2018-6-8 07:59
Ordinal-outcome estimators

        xtologit      Random-effects ordered logistic models
非常感谢指导,xtologit 这个口令不需要分辨出因变量的类型嘛
二维码

扫码加我 拉你入群

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

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

2018-6-8 10:49:46
转来转去 发表于 2018-6-8 10:42
非常感谢指导,xtologit 这个口令不需要分辨出因变量的类型嘛
xtologit fits random-effects ordered logistic models. The actual values taken on by the dependent
variable are irrelevant, although larger values are assumed to correspond to “higher” outcomes. The
conditional distribution of the dependent variable given the random effects is assumed to be multinomial
with success probability determined by the logistic cumulative distribution function.
不是很理解,先跑下试试
二维码

扫码加我 拉你入群

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

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

2018-6-25 09:06:28
蓝色 发表于 2018-6-8 07:59
Ordinal-outcome estimators

        xtologit      Random-effects ordered logistic models
您好老师,最近查阅了相关资料,没有定序变量的固定效应模型,书上也没找到,是不是定序变量面板数据只能跑随机相应模型啊。
xtlogit这个口令是不是只能跑二分类变量。
望不吝赐教,非常感谢!
二维码

扫码加我 拉你入群

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

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

2018-6-25 09:45:34
是的
没有固定效应,是因为理论上的问题。 应该 格林的书上有介绍吧
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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