Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: New version of -xrewide- on SSC
From
"Roger B. Newson" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: New version of -xrewide- on SSC
Date
Tue, 13 Nov 2012 11:25:16 +0000
Thanks as always to Kit Baum, a new version of the -xrewide- package is
now available for download from SSC. In Stata, use the -ssc- command to
do this, or -adoupgate- if you already have an old version of -xrewide-.
The -xrewide- package is described as below on my website. The new
version adds a new module -xrelong-, which is an extended version of
-reshape long-. -xrelong- has the additional option -jlabel(name)-,
allowing the user to assign an existing value label to the generated
-j()- variable. This can be useful, if the existing value label was
generated using the -varlabdef- package, which you can also download
from SSC, and the user intends to give the generated -j()- variable a
value label containing the variable labels (or variable characteristics)
of the input variables to be reshaped.
Best wishes
Roger
----------------------------------------------------------------------------
package xrewide from http://www.imperial.ac.uk/nhli/r.newson/stata10
----------------------------------------------------------------------------
TITLE
xrewide: Extended versions of reshape wide and reshape long
DESCRIPTION/AUTHOR(S)
The xrewide package contains 2 commands, xrewide and xrelong.
The xrewide commmand 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. The xrelong commmand is an extended version
of reshape long, with the option of assigning an existing value
label to the generated variable specified by the j() option.
Author: Roger Newson
Distribution-Date: 07november2012
Stata-Version: 10
INSTALLATION FILES (click here to install)
xrelong.ado
xrewide.ado
xrelong.sthlp
xrewide.sthlp
----------------------------------------------------------------------------
(click here to return to the previous screen)
--
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.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/