Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: New version of -descsave- on SSC

From   Roger Newson <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: New version of -descsave- on SSC
Date   Fri, 11 Feb 2011 11:20:40 +0000

Thanks as always 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, or -adoupdate- if you already have an old version of -descsave-.

The -descsave- package is described as below on my website. The new version fixes a bug, which previously caused -descsave- to fail when the -keep(varlist)- option contained wildcards. It also labels the char-n- variables in the output dataset (or resultsset) with variable labels of the form
"Characteristic varname[characteristic_name]"

Best wishes


Roger B Newson BSc MSc DPhil
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
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page:
Departmental Web page:

Opinions expressed are those of the author, not of the institution.

package descsave from

      descsave: Extension of describe creating output dataset and do-file

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 fvregen or factext) from the label variable of an output dataset (or resultsset) created by parmby or parmest. (The parmest, fvregen and factext packages are downloadable
      from this website or from SSC.)

      Author: Roger Newson
      Date: 10 February 2011
      Stata version: 10

INSTALLATION FILES                                  (click here to install)
(click here to return to the previous screen)
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index