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
Doug Hess <[email protected]>
To
[email protected]
Subject
Re: st: storing estimates from nestreg
Date
Thu, 21 Jul 2011 10:17:10 -0400
Thanks! That worked.
Can the nestreg function store the various e-class estimates for each
model? When I issue -est restore- for one of the earlier models that
ran in the nestreg routine and then issue -ereturn list- the scalars
and macros returned are all from the last model in the nestreg blocks,
not the model I restored. My final goal was to run nestreg and then
run outreg to put the results into excel using the -addstat- option to
include more info for each model in the output. Or do I just have to
run each model and use scalars to get those stored one by one.
Thanks, again.
-Doug
Date: Tue, 19 Jul 2011 14:45:41 -0500
From: Richard Williams <[email protected]>
Subject: Re: st: storing estimates from nestreg
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: [email protected]
WWW: http://www.nd.edu/~rwilliam
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
*
* 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/