[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: Re: Can a non-programmer permanently save the results of estimation?
I'll send estsave separately. You may want to check out -mstore- which was
posted on SSC back in 2001. -mstore- saves matrices with a dataset using
characteristics. Essentially, each row of the matrix is stored as a single
characteristic. Because characteristics are a text format, I use di %18.0g
as the format of each number to include all of the digits feasible. Given
the limit of 67,784 characters, it can large matrices. Other
characteristics are used to to hold row and column names.
----- Original Message -----
From: "Roger Newson" <email@example.com>
Sent: Sunday, November 16, 2003 10:31 AM
Subject: st: Re: Can a non-programmer permanently save the results of
> At 18:37 14/11/03 -0500, Michael Blasnik wrote:
> >I've put togther an ado file that I think does this -- it saves all of
> >macros, scalars, and matrices from the last estimation command (in a
> >dataset) and allows you to retrieve them in future Stata sessions --
> >essentially what -estimates store- does for a single session.
> >I haven't tested it extensively and so would offer it to any beta-testers
> >interested. If it seems to do what you want, then maybe I will submit it
> >SSC. It's called -estsave- and has a simple syntax (you're either
> >using(filename) or saving(filename). You need to specify a unique id
> >variable when savings results so that it can put e(sample) back in place
> >when retrieved. The dataset it saves only contains one variable (the ID
> >variable for the estimation sample only) and then saves everything else
> >using characteristics. I think it works...
> I for one would like a copy of -estsave-. I am definitely curious to find
> out just how -estsave- saves matrices and scalars in characteristics.
> Best wishes
> Roger Newson
> Lecturer in Medical Statistics
> Department of Public Health Sciences
> King's College London
> 5th Floor, Capital House
> 42 Weston Street
> London SE1 3QD
> United Kingdom
* For searches and help try: