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 on April 23, and its replacement, 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" <>
To   "" <>
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(

to view the Stata Version 10 version, or

net describe factmerg, from(

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

Best wishes


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
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Web page:
Departmental Web page:

Opinions expressed are those of the author, not of the institution.

package factmerg from

      factmerg: Merge a list of factors to create string variables

      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)
(click here to return to the previous screen)
*   For searches and help try:

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