Dear All,
I want to export random effect regression result into Word table. I use estout from SSC. I run regression for 3 models m1 m2 m3 and stored it using eststo. I know how to get the number of observations. However, I don't know how to tell Stata to export number of groups and overall R-squared. I use the code:
I know when I put N after stats Stata will take the number of observations. I didn't find the abbrevation for the overall R-squared and number of groups.
I want to export random effect regression result into Word table. I use estout from SSC. I run regression for 3 models m1 m2 m3 and stored it using eststo. I know how to get the number of observations. However, I don't know how to tell Stata to export number of groups and overall R-squared. I use the code:
Code:
esttab m1 m2 m3 using results.rtf, ///
cells(b(star fmt(%9.3f)) se(par) ///
stats( N, fmt(%9.3f, %9.0fc) labels("Observations")) ///
legend collabels(none) varlabels(_cons Constant) ///
note(Standard errors are in parentheses.) ///
title({\b Table1.}) replace

Comment