Bookmark and Share

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


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

Re: st: storing estimates from nestreg


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: storing estimates from nestreg
Date   Tue, 19 Jul 2011 14:45:41 -0500

At 01:23 PM 7/19/2011, Doug Hess wrote:
Hi.

Is there a way to store the nested models that are produced by
nestreg? I.e., using the example below from -help nestreg-, I would
like to use -est store- or something similar to store each model to
then use in --outreg2-. Any way to do that?

. webuse census4
. nestreg: regress brate (medage) (medagesq) (reg2-reg4)

Thank you.

Doug

There is a -store- option in -nestreg-, e.g.

nestreg, store(m): regress brate (medage) (medagesq) (reg2-reg4)

will store the results as m1, m2 and m3.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu
WWW:    http://www.nd.edu/~rwilliam

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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