楼主: xiaomuji66666
9985 5

[求助]不好意思,还是mlogit的问题 [推广有奖]

  • 0关注
  • 0粉丝

高中生

70%

还不是VIP/贵宾

-

威望
0
论坛币
-1 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
276 点
帖子
22
精华
0
在线时间
0 小时
注册时间
2008-7-8
最后登录
2008-12-18

楼主
xiaomuji66666 发表于 2008-9-1 11:07:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币

各位高手:

我在此学到很多知识,还是有些不懂

现在已经学会mlogit的命令,但是无法指定对照组

书上说用basecategory(#)但是程序上出现错误

例如:

mlogit q  old edu oj oj2 ft ft2,basecategory(0)

option basecategory() not allowed
r(198);

怎么改正??

在线等

急呀!!!

版主呀

高手呀


二维码

扫码加我 拉你入群

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

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

关键词:mlogit logit 不好意思 Log Category mlogit

回帖推荐

yjx_ahstu 发表于5楼  查看完整内容

如果选择缺省的话,stata会自动默认对照组为1,你的”0“似乎不能作为对照组。仅供参考。

edwmidas 发表于4楼  查看完整内容

For answering your question, I found the help resources of Stata.com in http://www.stata.com/help.cgi?mlogit.In that webpage, you can find the correct command of basecategory such as "baseoutcome(#), base(#) or b(#)", not "basecategory(#)".However you didn't make a categical variable before using mlogit, I think.Because you said "... 但是无法指定对照组."In the mgolit command of Stat ...

蓝色 发表于3楼  查看完整内容

命令的查stata自带的帮助stata10的一些选项改变了但是基本的是不变的,所以你的查帮助

蓝色 发表于2楼  查看完整内容

    Setup        . webuse sysdsn3    Fit multinomial logistic regression model        . mlogit insure age male nonwhite site2 site3    Same as above, but use 2 as the base outcome        . mlogit insure age male nonwhite site2 site3, base(2) &nb ...

本帖被以下文库推荐

沙发
蓝色 发表于 2008-9-1 12:17:00


    Setup
        . webuse sysdsn3

    Fit multinomial logistic regression model
        . mlogit insure age male nonwhite site2 site3

    Same as above, but use 2 as the base outcome
        . mlogit insure age male nonwhite site2 site3, base(2)

    Replay, reporting relative-risk ratios
        . mlogit, rrr

藤椅
蓝色 发表于 2008-9-1 12:19:00

命令的查stata自带的帮助

stata10的一些选项改变了

但是基本的是不变的,所以你的查帮助

板凳
edwmidas 发表于 2008-9-1 22:09:00

For answering your question, I found the help resources of Stata.com in http://www.stata.com/help.cgi?mlogit.

In that webpage, you can find the correct command of basecategory such as "baseoutcome(#), base(#) or b(#)", not "basecategory(#)".

However you didn't make a categical variable before using mlogit, I think.

Because you said "... 但是无法指定对照组."

In the mgolit command of Stata,the default is to choose the most frequent outcome.

For example, if "q" of your dependent variable is composed of 5 high income groups(=1), 4 middle income group(=2) and 10 low income group(=3),the base outcome is automatically 3, that is low income group, and also you just do mlogit without base(#).

When you want to change the base outcome or group for additional analysis, you must use the command of bsae(#).

So you must check whether your dependent variable "q" is correct and then do mlogit.

I hope you enjoy Stata's wonderful world.

[此贴子已经被作者于2008-9-1 22:13:41编辑过]


eblog  金币 +2  金钱 +20  魅力 +10  经验 +10  奖励 2008-9-2 9:29:52

报纸
yjx_ahstu 发表于 2008-9-2 07:00:00

如果选择缺省的话,stata会自动默认对照组为1,你的”0“似乎不能作为对照组。仅供参考。

地板
白雪00 发表于 2017-7-28 15:26:45
请问一下,您这个问题当时怎么解决的啊,谢谢啦

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-25 20:18