楼主: zdlspace
11386 4

[学习心得] reghdfe和xtreg究竟看哪个R2? [推广有奖]

  • 1关注
  • 83粉丝

已卖:1033份资源

学科带头人

93%

还不是VIP/贵宾

-

威望
2
论坛币
5229 个
通用积分
8133.5343
学术水平
520 点
热心指数
536 点
信用等级
509 点
经验
52340 点
帖子
1681
精华
0
在线时间
2717 小时
注册时间
2013-7-21
最后登录
2025-11-22

楼主
zdlspace 学生认证  发表于 2021-1-14 18:09:15 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
当我们使用reghdfe和xtreg,fe命令时会得到各种R2,组内、组间、整体以及调整R2,那么我们究竟应该报告哪一个呢?下面两张图片截自Statalist Forums.是论坛大神Carlo Lazzaro的回复。
1610618833893.jpg 1610618824340.jpg
根据上述两个回复,Carlo Lazzaro的观点是:无论是xtreg还是reghdfe,都应该参看Within-R2.
二维码

扫码加我 拉你入群

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

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

关键词:xtreg REG GHD STATALIST Forums

已有 2 人评分学术水平 热心指数 信用等级 收起 理由
chentibiao + 5 + 5 + 5 精彩帖子
Sunknownay + 3 + 3 + 3 鼓励积极发帖讨论

总评分: 学术水平 + 8  热心指数 + 8  信用等级 + 8   查看全部评分

Raymond
Stata 17.0, MP(4)

沙发
磨叽斑斑 发表于 2021-1-17 19:17:43
你好,我想请教一个问题,我固定个体效应以后,R2就突然变得很大,你知道可能是什么原因吗?我的数据不存在共线性。

藤椅
zdlspace 学生认证  发表于 2021-1-17 20:14:23
变得很大是多大,我看不到你的命令和数据,不好判断

板凳
dakaein 发表于 2021-10-5 11:12:40
楼主你好,我分别用了xtreg、areg、reghdfe进行计算,在系数标准误都没有太大差异的情况下,其中reghdfe的组内R2变得非常小,请问这种怎么处理呀?谢谢
https://bbs.pinggu.org/thread-10771876-1-1.html
这个是我发的帖子 上面有图片

报纸
somewhere379 在职认证  发表于 2023-2-15 16:44:24
Why are there four R2s? Which one should I use?
The problem of the standard r2 under many fixed effects is that its value will mostly be driven by the fixed effects and not by the regressors of interest. As a solution, the within-r2 computes the r2 of the regression where every variable has already been demeaned with respect to all the fixed effects.

Therefore, on top of the usual r2 (e(r2)) and the adjusted r2 (e(r2_a)), we have the within-r2 (e(r2_within)) and the adjusted within-r2 (e(r2_a_within)).

If what you want an acid r2 that relates only to the variables of interest and is not driven by the fixed effets, I would suggest the adjusted within-r2.

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

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