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

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

From   Stephen Mennemeyer <>
To   statalist <>
Subject   st: Can a non-programmer permanently save the results of estimation?
Date   Thu, 13 Nov 2003 13:41:47 -0600

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

* For searches and help try:

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