Thanks to Kit Baum, a new version of the -descsave- package is now
available for download from SSC. In Stata, use the -ssc- command to do
this.
-descsave- is described as below on my website. The new version adds the
options -norestore- and -fast-, corresponding to the options of the same
names in my other resultsset-generating programs (eg -parmest-). The
output dataset (or resultsset) generated by -descsave-, with 1
observation per variable, can therefore be listed and/or saved to a disk
file and/or written to the memory, replacing any existing dataset. The
user must now specify one of the options -dofile()-, -list()-,
-saving()-, -norestore- and -fast-, which specify the destination of the
output.
Best wishes
Roger
Roger Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
www.imperial.ac.uk/nhli/r.newson/
Opinions expressed are those of the author, not of the institution.
------------------------------------------------------------------------
---------------
package descsave from http://www.imperial.ac.uk/nhli/r.newson/stata9
------------------------------------------------------------------------
---------------
TITLE
descsave: Extension of describe creating output dataset and
do-file
DESCRIPTION/AUTHOR(S)
descsave is an extended version of describe, and creates a do-file
and/or
an output Stata dataset (or resultsset). The output Stata dataset
has
1 observation per variable described, and data on variable
attributes
(name, storage type, display format, variable label, value label,
and
selected characteristics). The Stata do-file reconstructs these
attributes
when run, assuming that the variable exists and is of the correct
mode
(numeric or string). descsave can be used to reconstruct variables
that have
been output to a generic spreadsheet using outsheet and then input
using
insheet, or variables that have been extracted (using factext)
from the
label variable of an output dataset (or resultsset) created by
parmby or
parmest. (The parmest and factext packages are downloadable from
this website
or from SSC.)
Author: Roger Newson
Date: 23 November 2006
Stata version: 9
INSTALLATION FILES (click here to
install)
descsave.ado
descsave.hlp
------------------------------------------------------------------------
---------------
(click here to return to the previous screen)
*
* 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/