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


From   "Roger B. Newson" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: New version of -dsweight- on SSC
Date   Fri, 03 Feb 2012 11:29:28 +0000

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

The -dsweight- package is described as below on my website. The new version adds a second module -scdsweight- for calculating scenario direct standardization weights, for use with the recently-updated -scsomersd- package, which you can also download from SSC. These scenario direct standardization weights can be used with -scsomersd- to calculate population attributable risks. It also adds a few additional examples in the on-line help, illustrating how direct standardization weights can be used with rank statistics by inputting them as pweights to modules of the -somersd- package (also downloadable from SSC).

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

TITLE
      dsweight: Generate direct standardization weights

DESCRIPTION/AUTHOR(S)
      dsweight generates direct standardization weights for input as
      pweights to estimation commands, standardizing the joint
      distribution of a list of standardization variables to a standard
      target population, possibly within groups defined by value
      combinations of a list of group variables.  A direct
      standardization weight is defined as a ratio between the frequency
      of a combination of values of standardization variables in a target
      standard population and the frequency of the same combination of
      values of standardization variables in the sample or group.  The
      standard target population may be the full sample, or a by-group
      defined by a combination of values of by-variables, or it may be
      defined using a dataset with 1 observation per combination of the
      group variables, and data on the frequencies of these combinations
      in the standard target population.

      Author: Roger Newson
      Distribution-Date: 01february2012
      Stata-Version: 10

INSTALLATION FILES                                  (click here to install)
      dsweight.ado
      dsweight.sthlp
      scdsweight.ado
      scdsweight.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