Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Output summary stats before doing other iteration


From   "Eva Poen" <eva.poen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Output summary stats before doing other iteration
Date   Mon, 15 Sep 2008 13:05:17 +0100

Larraine,

you can keep all your estimation results if you avoid -clear-.
Example:

*********
sysuse auto, clear
regress price mpg
estimates store rega
* here it is:
estimates dir
clear
* here it's gone.
estimates dir
* try again:
sysuse auto
regress price mpg foreign
estimates store regb
drop _all
* and it's still there:
estimates dir
*********

See -help drop-. However, -simulate- will make the task much easier.

Eva

2008/9/15 Larraine Becker <lbecker@unimelb.edu.au>:
> Eva,
>
> I tried the estimates store iteration`i', but since I have to go back
> using the original dataset before I start with the next iteration I lose
> all the estimates but the last one.  Any suggestions here?
>
> Thanks
> Larraine
>
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index