楼主: xgdl2010
6348 6

[回归分析求助] 关于ivreg2 cluster的疑问 [推广有奖]

  • 1关注
  • 2粉丝

已卖:119份资源

讲师

38%

还不是VIP/贵宾

-

威望
0
论坛币
1536 个
通用积分
96.6299
学术水平
1 点
热心指数
1 点
信用等级
3 点
经验
1231 点
帖子
96
精华
0
在线时间
839 小时
注册时间
2010-5-29
最后登录
2025-8-7

楼主
xgdl2010 发表于 2014-3-9 18:53:01 |AI写论文
3论坛币
stata里的ivreg2 help中说, cluster()括号中可以放入两个变量,也就是可以控制两个聚类,可是我自己做论文时,cluster里放入两个变量, 一个是所在城市,另一个是所在行业,cluster(city industrytype),执行命令后总是出现cluster():  too many variables specified r(103),怎么回事?谢谢!附:stata Help的原文如下:
cluster(varname1 varname2) provides 2-way cluster-robust SEs and statistics as proposed by Cameron, Gelbach and Miller (2006) and Thompson (2009).  "Two-way cluster-robust" means the SEs and statistics are robust to arbitrary within-group correlation in two distinct non-nested categories defined by varname1 and varname2.  A typical application would be panel data where one
"category" is the panel and the other "category" is time; the resulting SEs are robust to arbitrary within-panel autocorrelation (clustering on panel id) and to arbitrary contemporaneous cross-panel correlation (clustering on time).  There is no point in using 2-way cluster-robust SEs if the categories are nested, because the resulting SEs are equivalent to clustering on the larger category.  varname1 and varname2 do not have to uniquely identify observations.  The order of varname1 and varname2 does not matter for the results, but processing may be faster if the category with the larger number of categories (typically the panel dimension) is listed first.




关键词:Cluster IVREG IVR CLU REG specified provides 论文 行业

沙发
xgdl2010 发表于 2014-3-9 19:16:34 来自手机
自己顶,哪位高手帮帮忙,做论文要用到!

藤椅
xgdl2010 发表于 2014-3-10 15:13:22
自己解决了。

板凳
xgdl2010 发表于 2014-3-10 15:14:13
自己解决了。

报纸
focused 发表于 2014-5-9 22:59:07
请问是怎么解决的?谢谢

地板
shandzh 发表于 2015-6-4 13:10:43
同问校友是如何解决这一问题的?不常查看论坛,请邮箱到sunr0001@e.ntu.edu.sg 非常感谢!

7
潇潇木枼 发表于 2019-12-17 23:05:39
xgdl2010 发表于 2014-3-10 15:13
自己解决了。
请问楼主是怎么解决的,我也遇到了类似的问题,求解答~

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-9 09:53