|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: New package -keyby- on SSC
Thanks to Kit Baum, a new package -keyby- (described as below on my
website) is now available for download from SSC. In Stata, use the -ssc-
command to do this.
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]
Web page: www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/pop
genetics/reph/
Opinions expressed are those of the author, not of the institution.
------------------------------------------------------------------------
-------
package keyby from http://www.imperial.ac.uk/nhli/r.newson/stata9
------------------------------------------------------------------------
-------
TITLE
keyby: Key the dataset by a variable list
DESCRIPTION/AUTHOR(S)
keyby sorts the dataset currently in memory by the variables in a
varlist, checking that the variables in the varlist uniquely
identify the observations. This makes the variables in the
varlist
a primary key for the dataset in memory. If the user does not
specify otherwise, then keyby also reorders the variables in the
varlist to the start of the variable order in the dataset, and
checks that all values of these variables are nonmissing. keyby
can be useful if the user combines multiple datasets using merge,
which may cause a dataset in memory to become unsorted.
Author: Roger Newson
Distribution-Date: 24august2007
Stata-Version: 9
INSTALLATION FILES (click here to
install)
keyby.ado
keyby.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/