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, statalist.org is already up and running.


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

st: New version of -fvregen- 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 -fvregen- on SSC
Date   Tue, 21 Feb 2012 11:28:23 +0000

Thanks once again to Kit Baum, a new version of the -fvregen- package is now available for download from SSC. In Stata, use the -ssc- command to do this, or -adoupdate- if the user already has an old version of -fvregen-.

The -fvergen- package is described as below on my website. The new version upgrades the -from(narname)- option to a -from(varlist)- option, allowing the user to regenerate factors from expanded specific factor varlist elements stored in multiple variables. As in

fvregen, from(parm idstr)

which extracts factors from the variables -parm- and -idstr-.

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

TITLE
      fvregen: Regenerate factor variables in a parmest output dataset

DESCRIPTION/AUTHOR(S)
      fvregen is intended for use in output datasets (or resultssets)
      created by the programs parmest or parmby.  These are part of the
      parmest package, which can be downloaded from SSC, and which create
      output datasets (or resultssets), with one observation per estimated
      parameter of a model fitted to an original dataset.  fvregen
      regenerates factor variables included in the model, using
      information from the parameter names.  Each regenerated factor
      variable has non-missing values in observations corresponding to
      parameters corresponding to levels of that factor, or to
      combinations of levels of that factor and other factors in products
      or interactions.  In each observation, the regenerated factors with
      non-missing values are the factors involved in the parameter
      corresponding to that observation, and their values are the values
      of the levels of these factors corresponding to that parameter.  The
      regenerated factors may have the same storage types, display
      formats, value labels, variable labels and variable characteristics
      as the factor variables of the same names in the original dataset,
      in which the model parameters were estimated.  This is made possible
      by running do-files created by the descsave package.  After the
      factors are generated, they can be listed, and/or used in confidence
      interval plots generated by the eclplot package, and/or merged to
      create a table row variable using the factmerg package.  The
      descsave, eclplot and factmerg package can all be downloaded from
      SSC.

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

INSTALLATION FILES                                  (click here to install)
      fvregen.ado
      fvregen.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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index