用的是固定效应模型的工具变量法 2SLS回归 ,使用的代码如下,跑出来会报错,输出的结果first和second一模一样,目前不清楚是工具变量法的一阶段没有进行回归(那输出的结果肯定不敢用),还是说只是一阶段的结果没能导出,输出的second是没问题可以用的呢?
tab year, gen(dyear)
xtivreg2 DIGT1 ROA ROE sale lnage LEV stock pettm size Q ( DFcity = distance ) dyear*, fe first savefirst
eststo second
est restore first
outreg2 using IV1.doc,cttop(first) tstat bdec(3) tdec(2) replace
est restore second
outreg2 using IV1.doc,cttop(second) tstat bdec(3) tdec(2)
. est restore first
estimation result first not found
r(111);