黃河泉 发表于 2018-4-27 15:35
基本上,你可以證明 i.year 與 GDP 之资料是完全共线性。
谢谢黄老师的回复。我今天阅读了黄老师推荐的reghdfe命令的材料。在这个命令的help文件中有这样一句话(在SE/ROBUST部分): Warning: The number of clusters, for all of the cluster variables, must go off to infinity. A frequent rule of thumb is that each cluster variable must have at least 50 different categories (the number of categories for each clustervar appears on the header of the regression table).
这是说使用这个命令的聚类稳健标准误,每个聚类变量的分类必须要至少50 个吗?按照这个标准,如果我现在要研究有20个地区10行业和12年的数据的问题,是不是输入reghdfe y x, absorb( region industry year) cluster(industry)或者reghdfe y x, absorb( region industry year) cluster(region)等都不可以啊,因为求cluster方差的每个聚类变量的类别数(number of categories )都是小于50的,industry有10个,地区有20个。我的英文不好,所以不知道理解的对不对?请老师指导,真心感谢老师的耐心和无私的帮助