Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: New version of -factmerg- on SSC


From   "Roger B. Newson" <r.newson@imperial.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: New version of -factmerg- on SSC
Date   Mon, 22 Apr 2013 11:28:16 +0100

Thanks yet again to Kit Baum, a new version of the -factmerg- 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 -factmerg-.

The -factmerg- package is described as below on my website. The new version has been upgraded to Stata Version 11, and now requires the Stata Version 11 -sdecode- package )also downloadable from SSC) in order to work. It therefore now decodes factor values with all the power of -sdecode-, including exponent substitution. This will be especially useful for merging continuous factors, as used in the reference-spline models enabled by the SSC package -bspline-.

Users of Stata Versions 10, 9, 8 and 7 who wish to download the old Stata Version 10 and Stata Version 7 versions of -factmerg- can still download them from my website. In Stata, type

net describe factmerg, from(http://www.imperial.ac.uk/nhli/r.newson/stata10)

to view the Stata Version 10 version, or

net describe factmerg, from(http://www.imperial.ac.uk/nhli/r.newson/stata7)

to view the Stata Version 7 version. The user can then install the appropriate old version of -factmerg-.

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: r.newson@imperial.ac.uk
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 factmerg from http://www.imperial.ac.uk/nhli/r.newson/stata11
---------------------------------------------------------------------------

TITLE
      factmerg: Merge a list of factors to create string variables

DESCRIPTION/AUTHOR(S)
      factmerg takes, as input, a list of variables (numeric or string),
      representing discrete factors in a model.  It creates, as output,
      one to three string variables, containing, in each observation, a
      value, a factor name or a factor variable label, respectively,
      copied from the first factor variable in the input variable list
      with a non-missing value for that observation.  factmerg requires
      the SSC package sdecode in order to work.

      Author: Roger Newson
      Distribution-Date: 19april2013
      Stata-Version: 11

INSTALLATION FILES                                  (click here to install)
      factmerg.ado
      factmerg.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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index