Bookmark and Share

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 -factext- on SSC


From   Roger Newson <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: New version of -factext- on SSC
Date   Fri, 28 Jan 2011 11:57:07 +0000

Thanks to Kit Baum, a new version of the -factext- package is now available for download from SSC. In Stata, use 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, and regenerates factor variables (and spline reference values) in -parmest- output datasets (or resultssets). The new version still has the same program file, but the on-line help is now a Stata Version 10 .sthlp file, and has been updated to refer to the -flexcurv- module of the -bspline- package, also downloadable from SSC. For most applications involving factor variables in Stata 11, the Stata 10 package -factext- has been superseded by the Stata 11 package -fvregen-. However, -factext- will probably continue to be useful with reference splines, such as those produced by -flexcurv-.

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: 24january2011
      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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index