大家好!虽读到博士了,但还是stata新手,论文吃紧,想找大家请教下:面板FGLS,由于R2不可用,想比较相同控制变量下,想通过残差平方和来比较几个可选的解释变量的效率。我在论坛里搜到可以用predict xxx,resid命令得到残差,但我回归完后输入该命令,直接报错:option resid not allowed。请问我该怎么做?另外,想比较FGLS中的变量的解释效率,还有其他可用的指标吗?谢谢大神们!!
xb xb, fitted values; the default
stdp calculate standard error of the fitted values
ue u_i + e_it, the combined residual
xbu xb + u_i, prediction including effect
u u_i, the fixed- or random-error component
e e_it, the overall error component