Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: New package -dsweight- on SSC

From   "Roger B. Newson" <>
To   "" <>
Subject   st: New package -dsweight- on SSC
Date   Fri, 20 Jan 2012 20:15:55 +0000

Thanks yet again to Kit Baum, a new package -dsweight- is now available for download from SSC. In Stata, use the -ssc- package to do this.

The -dsweight- package is described as below on my website. It calculates direct-standardization weights, which the user can then input as -pweights- to estimation commands to estimate directly-standardized ragression or rank parameters.

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 dsweight from

      dsweight: Generate direct standardization weights

      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: 18january2012
      Stata-Version: 10

INSTALLATION FILES                                  (click here to install)
(click here to return to the previous screen)
*   For searches and help try:

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