[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: ranksum/Mann-Whitney command
At 19:38 26/08/2004, Holly wrote:
Maybe my own -somersd- package (downloadable from SSC) is what you are
looking for. To find more about it it, type
I would like to use the ranksum command on a sample population but the
command does not take weights. Does anyone know of a command that will give
me the same results for weighted data?
ssc describe somersd
The -somersd- package can use frequency or probability weights, and
calculates confidence limits for the 2 parameters corresponding to the
ranksum test, namely Somers' D and the Hodges-Lehmann median difference. It
comes with 2 .pdf manuals, and a reference to a Stata Journal paper on the
subject (Newson, 2002), which can be downloaded as a pre-publication draft
from my website.
I hope this helps.
Newson R. 2002. Parameters behind "nonparametric" statistics: Kendall's
tau, Somers' D and median differences. The Stata Journal 2(1): 45-64.
A pre-publication draft of this paper can be downloaded from my website. In
net-aware Stata, type
net from http://www.kcl-phs.org.uk/rogernewson/papers
to find how to do this.
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
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
Opinions expressed are those of the author, not the institution.
* For searches and help try: