分享一个ologit回归后,esttab合并两个结果与输出,输出的结果可以显示N和Pseudo R2
*回归
ologit 变量...
est sto w1
ologit 变量...
est sto w2
*合并两个结果
esttab w1 w2, b(%12.3f) se(%12.3f) nogap compress s(N r2_p) star(* 0.1 ** 0.05 *** 0.01)
*导出,只需在两个结果名后 加上using 你要保存的路径,最后一个是对生成文件的命名
esttab w1 w2 using D:\stata15.1win\ado\person\1class\wholeout.rtf, b(%12.3f) se(%12.3f) nogap compress s(N r2_p) star(* 0.1 ** 0.05 *** 0.01)