全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
4575 8
2012-04-26
472 groups (2360 obs) dropped because of all positive or all negative outcomes.
这是神马情况啊,我做的是面板数据的固定效应logit回归。为什么样本数都drop了
二维码

扫码加我 拉你入群

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

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

全部回复
2012-4-26 09:44:47
这些组里y的值都是一样的吧?
二维码

扫码加我 拉你入群

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

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

2012-4-26 09:49:49
Mayonnaise 发表于 2012-4-26 09:44
这些组里y的值都是一样的吧?
是的,500多个stkcd和5个year,用xtlogit,re时没有drop
二维码

扫码加我 拉你入群

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

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

2012-4-26 09:58:46
手册是这么说的:
The second message tells us that 2,744 groups were “dropped” by clogit. When either union = 0
or union = 1 for all observations for an individual, this individual’s contribution to the log-likelihood
is zero. Although these are perfectly valid observations in every sense, they have no effect on the
estimation, so they are not included in the total “Number of obs”. Hence, the reported “Number of
obs” gives the effective sample size of the estimation. Here it is 12,035 observations—only 46% of
the total 26,200.
二维码

扫码加我 拉你入群

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

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

2012-4-26 10:11:20
Mayonnaise 发表于 2012-4-26 09:58
The second message tells us that 2,744 groups were “dropped” by clogit. When either union = 0
or  ...
是不是说在一个截面中都是1或者都是0的截面太多了啊?如果是这样的话,对回归的结果及其有效性有没有影响呀?
二维码

扫码加我 拉你入群

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

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

2012-4-26 10:24:17
这样算是圆满回答你的问题了。我自己也趁这机会再学习了一遍。
附件列表
Untitled.png

原图尺寸 35.05 KB

Untitled.png

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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