Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: geting e-class returns in outreg2 for multiple models

From   Doug Hess <>
Subject   st: geting e-class returns in outreg2 for multiple models
Date   Thu, 7 Jul 2011 18:10:35 -0400

Hi, all.

I am trying to produce a single file with multiple regressions
side-by-side, which outreg2 does wonderfully. However, when I run the
outreg2 code below after running the regressions and storing after
each with -est store- using sequential names, the LL that is presented
underneath each model is the same one (the one from the last
regression run).  Should I also be storing the e-class returns somehow
and then calling them up? Or will this require a -foreach- loop, which
loses the side by side model output (I assume -append- puts things at
the bottom?).

outreg2 [model*] using July7models, sideway stats(coef se pval aster)
addstat(LL, `e(ll)') noparen dec(3) excel word replace

Thanks for any ideas.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index