Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: New version of -xrewide- on SSC


From   Roger Newson <r.newson@imperial.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: New version of -xrewide- on SSC
Date   Thu, 23 Dec 2010 16:12:36 +0000

Thanks to Kit Baum, a new version of the -xrewide- package is available for download from SSC. In Stata, use the -ssc- command to do this, or -adoupdate- if you already have the old version of -xrewide- (distributed earlier this week).

The -xrewide- package, described as below on my website, is an extended version of -reshape wide-, mostly used with -listtab- (the successor to -listtex-) to produce tables in TeX, HTML, RTF and XML formats for output to documents. The new version adds 7 new labor-saving options. These are -xmlsub- (specifying the substitution of XML escape sequences in the variable characteristics used to store j-variable value labels), -pjvalue()-, -sjvalue()-, -pjlabel()- and -sjlabel()- (specifying prefix strings and suffix strings to be added to the variable characteristics used to store j-variable values and value labels), and -lxij()- and -lxji()- (specifying the names of macro variables to contain lists of the reshaped variables generated by -xrewide-, ordered by stub and j-value and by j-value and stub, respectively).

Best wishes (and have a nice Xmas, solstice or whatever users may celebrate at this time of year)

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: r.newson@imperial.ac.uk
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 xrewide from http://www.imperial.ac.uk/nhli/r.newson/stata10
--------------------------------------------------------------------------

TITLE
      xrewide: Extended version of reshape wide

DESCRIPTION/AUTHOR(S)
      The xrewide package is an extended version of reshape wide.
      It saves results in variable characteristics, in addition to
      the dataset characteristics saved by reshape.  This is done
      using additional options for assigning the values and/or
      value labels of the j-variable to characteristics of the
      corresponding generated output variables.  These
      characteristics can be useful for defining column headings
      if the reshaped output dataset is output to a table using
      the listtab package, which can be downloaded from SSC.

      Author: Roger Newson
      Distribution-Date: 22december2010
      Stata-Version: 10

INSTALLATION FILES                                  (click here to install
> )
      xrewide.ado
      xrewide.sthlp
--------------------------------------------------------------------------
(click here to return to the previous screen)
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index