由于没有学过Stata,所以对Stata代码有些不懂的地方,在看一篇论文,然后想用R做一遍,但对于Stata知识有限,还请各位大神指点
论文标题The Labor Market Impacts of Forced Migration
在AER官网上可以下载该论文及附带的dataset 和 stata执行代码
代码:
quietly xtreg agriculture_top i.Ward_i district_population_pc rain_sd female ageyr married school_grade head size female_head married_head child_adult_7 time1 time_eucldist_bu, fe i(fixed_i) vce(cluster cluster_i)
上面构建了一个固定效应的面板回归(?)
我很好奇的是代码中 i(fixed_i)是什么意思,是将虚拟变量固定还是什么??
求指点