Thanks to Kit Baum, a new version of the -factext- package is now available for download from SSC. In Stata, ise the -ssc- command to do this, or -adoupdate- if you already have an old version of -factext-.
The -factext- package is described as below on my website. The new version is intended to be the final version. It is still in Stata 10, with the same ado-file. However, the on-line help has been tidied up to correct a few typos. And a note has been added, advising users that, if they are fortunate enough to have Stata Version 11, then they should probably be using the new -fvregen- package instead.
Best wishes
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: [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.
-----------------------------------------------------------------------------------
package factext from http://www.imperial.ac.uk/nhli/r.newson/stata10
-----------------------------------------------------------------------------------
TITLE
factext: Extract factor values from a label variable created by parmest
DESCRIPTION/AUTHOR(S)
factext is used to extract factors (categorical variables) from a
label variable in an output data set created by the parmest package.
The parmest package creates a data set with 1 obs per estimated parameter
and data on the parameter estimates, confidence limits, P-values, and
(optionally) also a variable named label, containing the variable label for
the X-variable corresponding to the parameter. If the X-variable is a dummy
variable created by xi, tabulate or John Hendrickx's desmat package, then the
value of label will be of the form "varname==value", where varname is a
variable name and value is a numeric or string value. factext uses this
information to create new factors (categorical variables) with the specified
varnames and values. These new variables can then be used to produce tables
and/or plots. factext can be used together with the descsave package, also
downloadable from SSC or from this website. Users of Stata versions 11
and above should probably use the fvregen package, also downloadable from
SSC, instead of using factext.
Author: Roger Newson
Distribution-Date: 11august2009
Stata-Version: 10
INSTALLATION FILES (click here to install)
factext.ado
factext.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/