yarsuse 发表于 2013-8-3 19:24 
谢谢您的回答,我想问您如果要加入因变量的滞后一期作为解释变量是不是可以这样写xtabond2 y yt-1 x1 x2 x3 ...
gmm()里面不允许有滞后期存在,应写成:
xtabond2 y yt-1 x1 x2 x3 x21 x22,gmm(y x1 x2 x3 x21 x22, laglimits(2 2)) noleveleq robust small nomata
laglimits (x y) indicated that the latest instrument is lagged x times and the earliest one is lagged y times