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]

st: RE: Basic Questions: Storing multiple results and data for future use


From   "Ben Hoen" <[email protected]>
To   <[email protected]>
Subject   st: RE: Basic Questions: Storing multiple results and data for future use
Date   Fri, 14 Jan 2011 10:58:35 -0500

I had meant to include this syntax to give you an idea of what I tried:

sysuse auto
reg price mpg trunk
eststo mpgtrunk
reg price mpg rep78
eststo mpgrep
eststo dir //this shows the two models
est save mpgmodels, replace
save resultsdata, replace
clear all
use resultsdata, replace
est use mpgmodels, 
eststo dir //this confirms that I have not done something right

Ben

Ben Hoen
LBNL
Office: 845-758-1896
Cell: 718-812-7589

-----Original Message-----
From: Ben Hoen [mailto:[email protected]] 
Sent: Friday, January 14, 2011 10:45 AM
To: [email protected]
Subject: Basic Questions: Storing multiple results and data for future use

I run a series of models each stored using eststo: .eststo name.  I use the
eststo dir, to keep tabs of these results, and often will drop ones that I
do not plan on using as a final set.  

My question is, after I have created this set of results in one session, can
I store them all, with one command, and then call them up later for future
use?  Tangentially, I see the dataset contains an e(sample) for each set of
stored results, so I suspect I will need to save the dataset too.  

I have experimented with .est save and .estsave, but have not been able to
find the correct commands to do what I want.  Nor was I able to make sense
of the previous online discussions on this subject.

Any suggestions?

Ben



Ben Hoen
Principal Research Associate
Lawrence Berkeley National Laboratory
Office: 845-758-1896
Cell: 718-812-7589
[email protected]


*
*   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