全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
7612 24
2014-02-23
悬赏 5 个论坛币 已解决
大家好,请高手为我解答这个问题:我用这个命令“ mixlogit decision, group(count) id(id) rand(color size firmness sweetness  flavor  shelf  cost)”,运行后报错“Some variables are collinear - check your model specification”,可我的解释变量没有完全共线。数据及解释变量相关系数请看附件。提前谢谢帮忙的同学!
Doc11.docx
大小:(27.96 KB)

 马上下载

Book11.xlsx
大小:(94.42 KB)

 马上下载



原数据中忘了放入count这个变量,请重新下载这个数据
Book11.xlsx
大小:(106.37 KB)

 马上下载


谢谢了!

最佳答案

jjjj6666 查看完整内容

what I think is if you add all the terms, the model estimating will not converge based on how the MLE is estimated. Have you looked the original paper and see if the model is estimable with collinearity (I read the paper some time ago, but never used this model)?
二维码

扫码加我 拉你入群

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

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

全部回复
2014-2-23 16:45:52
what I think is if you add all the terms, the model estimating will not converge based on how the MLE is estimated.  Have you looked the original paper and see if the model is estimable with collinearity (I read the paper some time ago, but never used this model)?
二维码

扫码加我 拉你入群

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

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

2014-2-24 03:52:08
if you do

_rmcoll color size firmness sweetness  flavor  shelf  cost

does it show anything?
二维码

扫码加我 拉你入群

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

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

2014-2-24 11:18:21
jjjj6666 发表于 2014-2-24 03:52
if you do

_rmcoll color size firmness sweetness  flavor  shelf  cost
Hi jjjj6666, 执行了你建议的口令后,返回的是“note: cost omitted because of collinearity”。可是我不想omit cost啊,如果不去掉任何变量,有没有解决的办法?谢谢!
二维码

扫码加我 拉你入群

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

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

2014-2-24 15:01:23
继续等待高手的帮助!我用mixlogit命令分析了其他几个类似的数据,解释变量中cost是两个数值,其他是0和1虚拟变量,解释变量之间的相关系数也类似,STATA都运行了,没有出现任何报错。先谢了!
二维码

扫码加我 拉你入群

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

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

2014-2-25 01:11:16
if force collinearity term, is the model unidentifiable?  At least, if force it, the model estimating may not converge.
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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