全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
8675 11
2009-09-21
我在用margeff求多元离散因变量回归模型的边际效应时,遇到一个问题:

mlogit pos roa lnmv
margeff,outcome(1)
option outcome() not allowed
r(198);

margeff,outcome(1) 这个命令有问题吗?好像help中显示这样是可以的啊?请高手相助。
二维码

扫码加我 拉你入群

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

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

全部回复
2009-9-21 00:14:53
help

Obtain partial effects after estimation

    margeff [compute] [if exp] [in range] [,
                at(atlist) constant dummies(varlist_1 [\ varlist_2 ..])
                link(log|loglog|logc|nbinomial|power #|opower #)
                model(stata_cmd) nooffset nowght outcome(#) percent replace ]


outcome(#) causes margeff to display only one outcome.  This option is
        useful after estimation commands listed as [group 2] models.  The
        number specified is interpreted as follows:
        1. After biprobit, numbers 1 2 3 and 4 refer to outcomes p00 p01 p10
            p11.
        2. After ologit, oprobit, gologit2 and mlogit, number # refers to the
            #th category of the dependent variable.  Thus, number 1 always
            indicates the lowest category. And if the dependent variable has,
            say, 5 categories, then number 5 indicates the highest category.
二维码

扫码加我 拉你入群

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

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

2009-9-21 11:07:30
我用下面这个命令
mfx compute, predict(outcome(1))
出来的p值全是1.0000
不知道出了什么问题?
二维码

扫码加我 拉你入群

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

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

2009-9-21 11:09:33
.Long(2001)的书上就不是,难道我的STATA有问题?下面这是Long的例题,很正常


mfx compute, predict(outcome(1))

Marginal effects after mlogit
y = Pr(occ==1) (predict, outcome(1))
= .09426806
variable dy/dx         Std. Err.    z    P>|z|   [ 95% C.I. ] X
white* -.1308552 .08915 -1.47 0.142 -.305592 .043882 .916914
ed -.025791 .00688 -3.75 0.000 -.039269 -.012312 13.0950
exper -.00227 .00126 -1.80 0.071 -.004737 .000197 20.5015
(*) dy/dx is for discrete change of dummy variable from 0 to 1
二维码

扫码加我 拉你入群

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

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

2009-9-21 11:24:43
我将mlogit拆成logit回归,然后用margeff,得到的P值也不是1.000啊。所以应该不是我的数据问题。
二维码

扫码加我 拉你入群

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

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

2009-9-21 11:41:38
我下载了mfx2,结果算出来的p值还是1.000
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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