Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Can a non-programmer permanently save the results of estimation?


From   Buzz Burhans <[email protected]>
To   [email protected]
Subject   Re: st: Can a non-programmer permanently save the results of estimation?
Date   Fri, 14 Nov 2003 12:13:48 -0500

Hi Stephen,

If you receive any further information off the list on this issue, would you please make it available on the list? I share your interest in this, it would be tremendously useful if the capability to store models existed in Stata as you describe below .

If it is at all helpful, I run some gllamm models that take very long times to run also, and in cases where I may need to refit the models at a later time I save transpose e(b)' using -svmat- or -svmat2-, when I rerun the model I use -mkmat- and the "from() copy" option of gllamm with the transpose of the saved matrix ; this reduces the time needed to refit the model, unfortunately it often remains a lengthy , albeit usually substantially shorter, task to refit the model.

If Stata Corp is listening, storing models is a feature available in other stats packages I use such as S-Plus, and apparently would be useful for some Stata users.

Buzz Burhans


At 01:41 PM 11/13/2003 -0600, you wrote:

I am a fairly experienced Stata user but not a Stata programmer, so my apologies if this is a bit elementary. How do I permanently save the results of models so that I can replay/reuse models after rebooting my machine?

The user command "estimates store name" seems to only keep the results of a model somewhere in memory for replaying/reusing/displaying during a single active session. If I estimate some models, invoke the "estimates store" command, save the dataset, exit Stata and come back later, issuing the command "estimates restore name" does not seem to bring back any of my previously estimated models. I would like to be able to issue a command such as "estimates store name....filename" so that I can do the things described in [U] 23.3 through [U]23.8 even if I exit Stata and come back later. For example, if I estimate a model with xtprobit or gllamm that takes several hours to run and then I decide next week that I want to play with it some more, I have to re-estimate the model.

I presume (correct??) that I can do what I want if I invest in learning to program Stata using the _estimates, ereturn, sreturn etc. commands. Is there no easier way?
--
Stephen T. Mennemeyer Ph.D.
University of Alabama at Birmingham
School of Public Health
Dept. of Health Care Organization and Policy

U.S. Mail:
1530 3rd Ave. South 330 RPHB
Birmingham, Al 35294-0022

Express Delivery:
330 Ryals Public Health Building
1665 University Blvd.
Birmingham, Al 35294-0022

Phone: (205) 975-8965
FAX (205) 934-3347
e-mail: [email protected]


*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
Buzz Burhans
[email protected]


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index