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]

Re: st: New package -scsomersd- on SSC


From   Steven Samuels <[email protected]>
To   [email protected]
Subject   Re: st: New package -scsomersd- on SSC
Date   Thu, 4 Nov 2010 16:09:40 -0400

-

For survey analysts, Roger's new package is a wonderful addition to Stata. It is the only package that will estimate valid, albeit conservative, CIs of percentiles for clustered and weighted data (conservative, because stratum information is not used). Thank you, Roger!

Steve

Steven J. Samuels
[email protected]
18 Cantine's Island
Saugerties NY 12477
USA
Voice: 845-246-0774
Fax:   206-202-4783

On Nov 4, 2010, at 1:26 PM, Roger Newson wrote:

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

The -scsomersd- package is described as below on my website, and requires the existing SSC packages -expgen- and -somersd- in order to work. It simplifies the calculation of a sub-family of rank statistics for scenario comparisons. This sub-family includes confidence intervals for medians, and other percentiles, in clustered or weighted samples. It also includes the Gini inequality coefficient, the population attributable risk (PAR), and Hodges-Lehmann median differences between paired samples.

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: 04november2010
     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/

*
*   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