auirzxp 发表于 2016-2-26 13:21 
你的STATA版本没有自带这个命令,所以你需要先安装它
net search xtabond2
. xtabond2 y L.y x1 x2 x3 x4 x5 x6 x7,gmm(L.y) robust twostep
Favoring speed over space. To switch, type or click on mata: mata set ma
> tafavor space, perm.
unknown egen function max()
stata(): 3598 Stata returned error
xtabond2_mata(): - function returned error
<istmt>: - function returned error
r(3598);
这又是什么情况呢