楼主: swufe2012
4632 8

[面板数据求助] 求助啊,xtlogit回归 [推广有奖]

  • 0关注
  • 0粉丝

高中生

57%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
249 点
帖子
28
精华
0
在线时间
25 小时
注册时间
2012-3-6
最后登录
2013-1-12

楼主
swufe2012 发表于 2012-4-26 09:39:56 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
472 groups (2360 obs) dropped because of all positive or all negative outcomes.
这是神马情况啊,我做的是面板数据的固定效应logit回归。为什么样本数都drop了
二维码

扫码加我 拉你入群

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

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

关键词:xtlogit logit Log tlo positive positive because 神马 groups 样本

沙发
Mayonnaise 发表于 2012-4-26 09:44:47
这些组里y的值都是一样的吧?

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

板凳
Mayonnaise 发表于 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.

报纸
swufe2012 发表于 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的截面太多了啊?如果是这样的话,对回归的结果及其有效性有没有影响呀?

地板
Mayonnaise 发表于 2012-4-26 10:24:17
这样算是圆满回答你的问题了。我自己也趁这机会再学习了一遍。

Untitled.png (35.05 KB)

Untitled.png

7
rosenbloog 发表于 2012-4-27 01:35:46
你用fixed effects,那些全是0或者1的个体就跟新增的fixed effect constant term完全线性相关了。就是说这些样本的Y不需要被解释了。

8
pingguzh 发表于 2013-2-6 14:30:25
应该选择fe,还是默认的re啊?
统计爱好

9
Gwang1 发表于 2013-5-15 20:59:58
同问,在这种情况下是不是就应该选择re了呢?

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

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