qianchen 发表于 2022-12-12 21:03 
显然你的命令不完整 没有指定工具变量 请help xtabond2 看里面的案例
系统GMM估计
xi:xtabond2 gvcp l2.gvcp l1.lndinesp l1.lnfinesp ems kl ds i.year,robust
gmm(l2.gvcp l1.lndinesp l1.lnfinesp,lag(3 4))iv(ems kl ds i.year,equation(level))twostep robust small
这是我的完整命令,回归时报错
xi:xtabond2 gvcp l2.gvcp l1.lndinesp l1.lnfinesp ems kl ds i.year,robust
i.year _Iyear_1995-2018 (naturally coded; _Iyear_1995 omitted)
Favoring space over speed. To switch, type or click on mata: mata set matafavor
> speed, perm.
_Iyear_1996 dropped due to collinearity
_Iyear_2016 dropped due to collinearity
Equation not identified. Regessors outnumber instruments.
r(481);
.
. gmm(l2.gvcp l1.lndinesp l1.lnfinesp,lag(3 4))iv(ems kl ds i.year,equation(leve
> l))twostep robust small
note: no parameters in equation 1
matrix __000008 not found
r(111);
.
也不知道什么原因?你能帮忙诊断下吗?
我引入被解释变量的滞后2期和2个解释变量的滞后1期,然后系统GMM回归,内生变量是这3个。