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 -scsomersd- for SSC


From   "Roger B. Newson" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: New version of -scsomersd- for SSC
Date   Fri, 03 Feb 2012 11:19:36 +0000

Thanks as always to Kit Baum, a new version of the -scsomersd- package is now available for download from SSC. In Stata, use the -ssc- command to do this, or -adoupdate- if you already have an old version of -scsomersd-.

The -scsomersd- package is described as below on my website. The new version fixes a bug, which caused incorrect results to be produced if the user supplied zero pweights for Scenario 0. So, if the user uses -scsomersd- to calculate a Gini inequality coefficient for a sample where some individuals have no money at all, then -scsomersd- should now produce the correct results.

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

TITLE
      scsomersd: Rank statistics for scenario comparisons

DESCRIPTION/AUTHOR(S)
      scsomersd, sccendif and sccenclope compute confidence intervals for
      rank statistics comparing scenarios.  Scenarios are alternative
      versions of the data, differing in the values of sampling
      probability weights and/or in the values of an outcome variable.
      The scenario-comparison rank statistics compare 2 scenarios,
      denoted Scenario 0 and Scenario 1, derived from the dataset in the
      memory, in a temporary extended dataset with 1 observation per
      original observation per scenario.  scsomersd estimates the Somers'
      D or Kendall tau-a of the outcome variable, and sccendif and
      sccenslope estimate the Hodges-Lehmann percentile differences of
      the outcome variable, with respect to scenario membership.
      Examples of between-scenario rank statistics include the Gini
      coefficient of inequality, the population attributable risk (PAR),
      percentiles of weighted and/or clustered samples, and
      Hodges-Lehmann percentile differences between paired samples.
      scsomersd, sccendif and sccenclope use the packages somersd and
      expgen, which must be installed in order for the programs to work,
      and can be downloaded from SSC.

      Author: Roger Newson
      Distribution-date: 01february2012
      Stata-version: 10


INSTALLATION FILES                                  (click here to install)
      sccendif.ado
      sccenslope.ado
      scsomersd.ado
      sccendif.sthlp
      sccenslope.sthlp
      scsomersd.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