如题,706家公司,7年时间的非平衡面板数据,想请问下大家下面的步骤对吗?初学者先谢谢了
- 15个解释变量相关性分析,剔除相关程度较高的变量,还剩13个。
- 选择固定效应模型还是随机效应模型(Hausman检验)
- 组内自相关检验 (沃尔德检验通过xtserial实现)
- 组间同期相关的检验(陈强老师参考书推荐用xtcsd来实现,但存运行过程存在问题)
- 组间异方差检验 (沃尔德检验通过xttest3实现)
- 存在自相关与异方差然后用全面FGLS估计。
第四点的xtcsd,pes abs show 结果为:
Error: The panel is highly unbalanced.Not enough common observations across panel to perform Pesaran's test.insufficient observations
遇到这种情况怎么办,这个检验只能用于平衡面板?还是我观测值太少?有没有其他的方法进行组间同期相关的检验?
第六点的如果存在自相关和异方差准备用全面FGLS估计,
用xtgls y xi,panels(cor) cor(ar1) 出现这样的结果:
(note: 87 observations dropped because only 1 obs in group)year is not regularly spaced or does not have intervals of delta -- use the force option to treat the intervals as though they were regular,然后use the force option,输出结果显示(note: 87observations dropped because only 1 obs in group) panels must be balanced
遇到这种情况是因为全面FGLS只能用于平衡面板导致的吗?如果存在异方差和自相关非平衡面板应该怎么处理?
才开始自学,有很多不清楚的地方,希望大家能多多指点。再次感谢。