1.请教各位大侠~本人用的是200多个城市组别,11年的面板数据实证,在做固定效应的时候,早先用的命令是xi:xtreg Y X1 X2...i.year,fe
但是在论坛里看到有人留言说用areg命令比较合适大组别的面板数据。然后我去查了一下help,是这么说的:
areg fits a linear regression absorbing one categorical factor. areg is designed for datasets with many groups, but not a number of groups that increases with the sample size. See
the xtreg, fe command in [XT] xtreg for an estimator that handles the case in which the number of groups increases with the sample size.
我也没怎么看懂,谁能解释一下吗?谢谢各位了~~
2.另外我想在命令里控制城市虚拟变量,单纯在命令里加入i.city时,所有的城市虚拟变量因为共线性被删除了,这只是在固定效应时出现,POLS和随机效应则没问题,有什么解决办法吗,希望固定效应也能实现。谢谢~


雷达卡





京公网安备 11010802022788号







