以下是我的代码:
ivreg2 inf_quality (RCY=imCLCD) Size Lev Top1 IndDir ROE TobinQ Auditor SOE BM Pop GDP i.year i.ind , first cluster(code)
在网上查了很多方法,也没有找到合适的输出两个阶段的方法,请大佬不吝赐教!!
ivregress2 2sls varlist, first
est restore first
outreg2 using 2sls.doc, cttop(first) tstat tdec(3) bdec(3) replace
est restore second
outreg2 using 2sls.doc, cttop(second) tstat tdec(3) bdec(3) append