Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: New version of -expgen- on SSC


From   "Newson, Roger B" <[email protected]>
To   <[email protected]>
Subject   st: New version of -expgen- on SSC
Date   Sun, 20 May 2007 20:12:41 +0100

Thanks to Kit Baum, a new version of the -expgen- package is now
available for download from SSC. In Stata, use the -ssc- command to do
this.

The -expgen- package is an extended version of -expand-, and is
described as below on my website. The new version is written in Stata
Version 9, and has a Stata 9 on-line help file. However, users of Stata
versions 6, 7 and 8 can still download the old Stata 6 version from my
website by typing, in Stata,

net from http://www.imperial.ac.uk/nhli/r.newson/stata6/

and then selecting and downloading the -expgen- package available there.

Best wishes

Roger


Roger 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] 
www.imperial.ac.uk/nhli/r.newson/

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

------------------------------------------------------------------------
------------------------
package expgen from http://www.imperial.ac.uk/nhli/r.newson/stata9
------------------------------------------------------------------------
------------------------

TITLE
      expgen: Duplicate observations and add generated variables

DESCRIPTION/AUTHOR(S)
      The program expgen is an extended version of expand. It replaces
each
      observation in the current dataset with multiple copies of the
observation,
      sorted in the order of the original observations. It can also
generate new
      variables, including a variable containing the sequential order of
a
      duplicate observation in the set of duplicate observations from
the same
      original observation (so that if the old observation has k
duplicates, then
      these duplicates are numbered from 1 to k in the new variable).
expgen is
      useful if the user has a dataset of repeated measures. For
instance, in a
      medical setting, the original dataset may contain one observation
per
      patient, and multiple variables containing repeated measures on
the same
      patient, and the user may want to expand the original dataset into
a new
      dataset, with one observation per repeated measure.
      
      Author: Roger Newson
      Distribution-Date: 20may2007
      Stata-Version: 9

INSTALLATION FILES                                  (click here to
install)
      expgen.ado
      expgen.hlp
------------------------------------------------------------------------
------------------------
(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/



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