全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
6280 6
2014-03-09
悬赏 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.




二维码

扫码加我 拉你入群

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

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

全部回复
2014-3-9 19:16:34
自己顶,哪位高手帮帮忙,做论文要用到!
二维码

扫码加我 拉你入群

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

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

2014-3-10 15:13:22
自己解决了。
二维码

扫码加我 拉你入群

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

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

2014-3-10 15:14:13
自己解决了。
二维码

扫码加我 拉你入群

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

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

2014-5-9 22:59:07
请问是怎么解决的?谢谢
二维码

扫码加我 拉你入群

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

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

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

扫码加我 拉你入群

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

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

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

说点什么

分享

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