命令:
xtgls y x1 x2,igls panel(het)
estimates store hetero
xtgls y x1 x2,igls
estimates store homo
local df = e(N_g) - 1
lrtest hetero homo, df(`df')
为什么跑出来结果,第一条回归很多系数为0,而且后面是 (omitted)。
检验后结果更奇葩,
Likelihood-ratio test LR chi2(539)= -1558.00
(Assumption: hetero nested in homo) Prob > chi2 = 1.0000
求大神们解答!!!感激不尽!
另外想问下panel(het)是什么意思的指令?