Statalist


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

st: New version of -descsave- for SSC


From   "Newson, Roger B" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: New version of -descsave- for SSC
Date   Thu, 10 Dec 2009 14:57:41 +0000

Hello again Kit (and Sandro)

Please find attached the very latest version of the -descsave- package, described as below on my website, for distribution on SSC when you return. The new version (described as below on website) uses the -strpos()- function instead of the -index()- function, which was temporarily removed in some sub-versions of Stata Version 10. (Thanks for informing me of this problem, Sandro.)

I have also added a few references, in the documentation, to my Stata 11 -fvregen- package, which regenerates factor variables in output datasets, optionally using a do-file written by -descsave- to regenerate the factor variable attributes (storage type, format, variable label, value label and characteristics).

Best wishes (and thanks in advance)

Roger


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
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected] 
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/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 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 December 2009
      Stata version: 10

INSTALLATION FILES                                  (click here to install)
      descsave.ado
      descsave.sthlp
------------------------------------------------------------------------------------
(click here to return to the previous screen)

Attachment: descsave.zip
Description: descsave.zip




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index