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


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

Thanks 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 updated from Stata Version 7 to Stata Version 10. I have also added the new option -xmlsub-, causing the characters &, < and > in the output string variables to be substituted with the corresponding XML escape sequences, in case the output variable is output to a XML document. In addition, I have added the options -pvalue()-, -pname()- and -plabel()- to specify prefixes, and the options -svalue()- -sname()- and -slabel()- to specify suffixes, for the output factor value, factor name and factor variable label output variables, respectively. These might be useful if the user is outputting these variables to TeX, HTML, RTF or XML documents.

Users of Stata Versions 7, 8 and 9 can still download the old Stata Version 7 version of -factmerg- from my website by typing, in Stata,

net from "http://www.imperial.ac.uk/nhli/r.newson/stata7/";

and se;ecting and downloading -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: [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 factmerg from http://www.imperial.ac.uk/nhli/r.newson/stata10
------------------------------------------------------------------------------------

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

DESCRIPTION/AUTHOR(S)
factmerg inputs a list of factors and outputs up to 3 string variables,
      containing, in each observation, the name, variable label and value,
respectively, of the first factor in the list with a nonmissing value in that observation. These string variables can be used in creating row labels for output tables and/or plots, possibly using the sencode package. The input factors are usually either created in a parmest or parmby output data set by using the factext package, or are in a data set created by concatenating multiple xcontract output data sets using dsconcat. The sencode, parmest, factext, xcontract and dsconcat packages are downloadable from SSC or from
      this website.

      Author: Roger Newson
      Distribution-Date: 25january2011
      Stata-Version: 10

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/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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