全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
5661 2
2009-04-19

. clogit choice01 area price year location environment time opportunity age education occupation worknumberper var14, gr
> oup(id) nolog
note: multiple positive outcomes within groups encountered.
note: age omitted because of no within-group variance.
note: education omitted because of no within-group variance.
note: occupation omitted because of no within-group variance.
note: worknumberper omitted because of no within-group variance.
note: var14 omitted because of no within-group variance.

Conditional (fixed-effects) logistic regression   Number of obs   =        783
                                                  LR chi2(7)      =      17.96
                                                  Prob > chi2     =     0.0122
Log likelihood = -376.50118                       Pseudo R2       =     0.0233

------------------------------------------------------------------------------
    choice01 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
        area |  -.1707955   .0753875    -2.27   0.023    -.3185523   -.0230387
       price |  -.0135165   .0767883    -0.18   0.860    -.1640188    .1369858
        year |   .1024004   .0782997     1.31   0.191    -.0510642     .255865
    location |   -.138701    .075597    -1.83   0.067    -.2868683    .0094663
 environment |   .3434337   .1299966     2.64   0.008      .088645    .5982224
        time |  -.2548438   .1269314    -2.01   0.045    -.5036248   -.0060628
 opportunity |   .0961225    .079104     1.22   0.224    -.0589185    .2511636
------------------------------------------------------------------------------

请问各位大虾,我的社会经济变量为什么在回归中都被omitted了呢?clogit中怎么考虑相关的社会经济变量阿

二维码

扫码加我 拉你入群

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

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

全部回复
2009-4-23 04:37:00
Answer is simple: Because these variables are constant within each group -- actually Stata has already given your reason: no within-group variance!

The conditional logistic model attempts to explain which observations within each group had positive outcomes, and things that do not vary within group play no role in the explanation,  that's why these variables were omitted.

Hope it helps.

eblog  金币 +3  金钱 +100  奖励 3ks anyway! 2009-4-23 21:01:29
二维码

扫码加我 拉你入群

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

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

2014-4-2 21:23:44
您好,请问这个问题您解决了吗
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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