连老师你好,
我用ivreg2做一个回归,命令如下:
xi:ivreg2 dhb hanzu stuage female asset_10000 left_behind meduyear feduyear meal county_dum1 county_dum2 (i.attend12_2= treatment) ,cluster (schoolcode)
这个模型里的内生变量是attend12_2, 是一个虚拟变量,其值为0, 1, 2,
工具变量是treatment(0, 1), 只有一个工具变量,
但是运行该命令的结果是:
. xi:ivreg2 dhb hanzu stuage female asset_10000 left_behind meduyear feduyear meal county_dum1 county_du
> m2 (i.attend12_2= treatment) ,cluster (schoolcode)
i.attend12_2 _Iattend12__0-2 (naturally coded; _Iattend12__0 omitted)
equation not identified; must have at least as many instruments not in
the regression as there are instrumented variables
r(481);
这种情况应该如何处理,请连老师指教。
元芳感激不尽。