Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Stata 5 version of -somersd- on my website

From   Roger Newson <[email protected]>
To   [email protected]
Subject   st: Stata 5 version of -somersd- on my website
Date   Wed, 24 Mar 2004 18:02:13 +0000

Hello All

Just in case there are still any Stata 5 users out there, I have now placed on my website the old Stata 5 version of the -somersd- package. The Stata 6 version of -somersd- (the latest) is of course still available, both on my website and on SSC. The Stata 5 and Stata 6 versions are described as below on my website. The Stata 5 version is very primitive, and was the first program I shared with the Stata community via Statalist, with .ado files dated 1997 and a .hlp file dated 1998. Any further improvements to the package will probably require plugins. More about the -somersd- package can be found in Newson (2002), which can also be downloaded as a pre-publication draft from my website.

Best wishes



Newson R. Parameters behind "nonparametric" statistics: Kendall's tau, Somers' D and median differences. The Stata Journal 2002; 2(1): 45-64. Pre-publication draft downloadable from
using either a browser or the Stata -net- command.

package somersd from

somersd: Confidence intervals for Somers' D and Kendall's tau-a

Roger Newson, King's College London, UK
somersd calculates values of Somers' D or Kendall's tau-a for the first
variable of varlist as a predictor of each of the other variables in varlist,
with estimates and jackknife variances stored as estimation output.

Author: Roger Newson
Distribution-date: 24 March 2004
Stata-version: 5

Note: This is a superseded version of somersd for users with Stata Version 5.
The most recent version of somersd can usually be downloaded from this
website using the Stata -net- command, or from SSC using the Stata command:
ssc install somersd

INSTALLATION FILES (click here to install)
(click here to return to the previous screen)

package somersd from

somersd: Kendall's tau-a, Somers' D and median differences

The somersd package contains the programs somersd and cendif, which
calculate confidence intervals for the parameters behind rank or
"nonparametric" statistics. The program somersd calculates confidence
intervals for Kendall's tau-a or Somers' D, and stores the estimates and
their covariance matrix as estimation results. The program cendif calculates
confidence intervals for Hodges-Lehmann median differences (or other
percentile differences) between two groups. Kendall's tau-a is a difference
between probabilities of concordance and discordance, and measures rank
order correlation. Somers' D is a parameter equal to zero under the null
hypothesis tested by the Wilcoxon or Mann-Whitney ranksum test, and can be
used to calculate confidence intervals for areas under receiver operating
characteristic (ROC) curves and differences between those areas. The
Hodges-Lehmann median difference can be defined in terms of Somers' D, and
is also zero under the null hypothesis tested by the ranksum test.
Full documentation of the two programs (including methods and formulas)
can be found in the ancillary files somersd.pdf and cendif.pdf, which can
be viewed using the Adobe Acrobat Reader.

Author: Roger Newson
Distribution-date: 29 May 2003
Stata-version: 6

INSTALLATION FILES (click here to install)

ANCILLARY FILES (click here to get)
(click here to return to the previous screen)

Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]

Opinions expressed are those of the author, not the institution.

* For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index