Statalist


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

st: New package -fvregen- on SSC


From   "Newson, Roger B" <r.newson@imperial.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: New package -fvregen- on SSC
Date   Tue, 11 Aug 2009 18:45:52 +0100

Thanks to Kit Baum, a new package -fvregen- is now available for download on SSC. In Stata, use the -ssc- command to do this.

The -fvregen- package is described as below on my website. It is the Stata 11 package that supersedes the old Stata 10 -factext- package, and regenerates factor variables in a -parmest- or -parmby- output dataset (or resultsset), possibly in combination with the -descsave- package. Note that, in Stata 11, the -parmest- outset contains observations corresponding to reference levels of factors, with zero-width confidence intervals for zero differences (or ratios of one). This is useful if the user wants to create a confidence interval plot with confidence intervals for the differences (or ratios) between mean outcomes for levels of a factor, compared to the reference level of that factor, and including a zero-width confidence interval for the reference level itself. This was always an awkward operation in Stata 10 with -factext-, but is now easy in Stata 11.

I would like to thank Vince Wiggins and Alan Riley of StataCorp (again) for their helpful advive on the development of this package, and, also, all at StataCorp for the new Stata 11 with the new factor variable lists.

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: 10august2009
      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   |   What's new   |   Site index