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.
The -descsave- package is described as below on my website. The new
version is in Stata Version 10. However, users of Stata 7, 8 and 9 can
still download the old versions from my website by typing, in Stata,
net from "http://www.imperial.ac.uk/nhli/r.newson/"
and selecting the version required.
The new version also adds an option -dshead-, causing -descsave- to
output some header lines describing the whole dataset, similar to those
produced by -describe, short-. The results saved to -r()- are now
harmonized to be identical to those produced by -describe-. There are
new options -detail- and -varlist-, corresponding to the -describe-
options of the same names. And the whole package is now documented
online in a Stata 10 format .sthlp file.
Best wishes
Roger
Roger B 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]
Web page: www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/pop
genetics/reph/
Opinions expressed are those of the author, not of the institution.
------------------------------------------------------------------------
-------------
package descsave from http://www.imperial.ac.uk/nhli/r.newson/stata10
------------------------------------------------------------------------
-------------
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: 02 April 2008
Stata version: 10
INSTALLATION FILES (click here to
install)
descsave.ado
descsave.sthlp
------------------------------------------------------------------------
-------------
(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/