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


From   "Roger B. Newson" <r.newson@imperial.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
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


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

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