|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: New package -xgroup- on SSC
Thanks to Kit Baum, a new package -xgroup- is now available for download
from ssc. In Stata, use the -ssc- command to do this.
The -xgroup- package is described as below on my website. It is part of
a series of programs for handling resultssets (or output datasets)
containing estimation results. See Newson (2006) for more about
resultssets.
Best wishes
Roger
References
Newson R. Resultssets, resultsspreadsheets and resultsplots in Stata.
Presented at the 4th German Stata Users' Group Meeting on 31 March 2006.
Download presentation from
http://ideas.repec.org/s/boc/dsug06.html
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/pop
genetics/reph/
Opinions expressed are those of the author, not of the institution.
------------------------------------------------------------------------
-------------------
package xgroup from http://www.imperial.ac.uk/nhli/r.newson/stata10
------------------------------------------------------------------------
-------------------
TITLE
xgroup: Create a grouping variable with key values in an output
dataset
DESCRIPTION/AUTHOR(S)
xgroup is an extended version of the egen function group(varlist).
It inputs a varlist of existing variables, and generates as output
a
new variable, defining a grouping of the observations by the
varlist, and also an output dataset (or resultsset), with 1
observation per non-missing value of the new output variable, and
data on the values of the input variables corresponding to that
value of the output variable. The output dataset is sorted
primarily by the new grouping variable, and secondarily by the
variables in the varlist, allowing the output dataset to be merged
into other datasets, using the official Stata command merge or the
SSC package addinby. xgroup is typically used together with the
SSC
packages parmest and factext when a multiple-intercept model is
fitted to the data, with 1 intercept for each combination of
values
for the varlist.
Author: Roger Newson
Distribution-Date: 26january2009
Stata-Version: 10
INSTALLATION FILES (click here to
install)
xgroup.ado
xgroup.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/