Stata: Data Analysis and Statistical Software
   >> Home >> Products >> Stata 10 >> Saved results

This page contains only historical information and is not about the current release of Stata. Please see our Stata 12 page for information on the current version of Stata.

order stataorder stata

Saved results

Stata 10 allows you to store estimation results in a file for use in later sessions. Fit a model today, save the results to disk, come back tomorrow, load the results, and continue with postestimation analysis as if you never exited Stata. Or email your results file to a colleague for further review. estimates save and estimates use make these tasks easy. Here is an example:

First, we fit a multinomial logit model:

    . use http://www.stata-press.com/data/r10/sysdsn3
    . mlogit insure age male nonwhite site2 site3
mlogit example 1

We are about to leave for the day, so we’ll save our mlogit results to disk so tomorrow we can pick up where we left off:

    . estimates save mymlogitresults
    file mymlogitresults.ster saved

Now we’re back and ready to get back to work. We load in the estimation results from yesterday:

    . estimates use mymlogitresults

and now we can do our postestimation analysis. Here we replay our results and then test the joint significance of the coefficients in the Prepaid equation:

    . mlogit
mlogit example 2

We did not reload the dataset when we came back to our work. estimates use does not require that the dataset used during estimation be available. Since our hypothesis test is based only on the estimated parameters and their covariance matrix, the dataset is not needed. If you want to make predictions or describe the estimation sample, then you do of course need the original dataset, and you use the estimates esample: command after estimates use to define the estimation sample.

For a complete list of new data management features, click here.

Back to highlights

Bookmark and Share 
Stata 10
New in Stata 10
Highlights
Graph Editor
Mixed models
Exact statistics
Power analysis
Endogenous variables
Multivariate methods
Dynamic panel data
Choice models
Survey data
GUI
Time/date variables
Saved results
More statistics
Survival analysis
Time series
Panel data
Mata
Programming
Stata/MP
Interface
Like us on Facebook Follow us on Twitter Follow us on LinkedIn
Follow us
© Copyright 1996–2012 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index   |   View mobile site