检验个体因素是否存在:
xtset idcode time
xtreg Y X1 X2 X3, fe
结果最后一行F检验中的P值:P<0.05存在个体因素,P>0.05不存在个体因素
检验时间因素是否存在:
xtset idcode time
xtreg Y X1 X2 X3, fe i(time)
结果最后一行F检验中的P值:P<0.05存在时间因素,P>0.05不存在时间因素
检验个体和时间因素是否存在:
xtset idcode time
xtreg Y X1 X2 X3 i.time, fe
结果最后一行F检验中的P值:P<0.05存在个体因素,P>0.05不存在个体因素
Testparm i.time
结果最后一行F检验中的P值:P<0.05存在时间因素,P>0.05不存在时间因素