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

st: Re: ranksum test & interval length


From   Roger Newson <[email protected]>
To   [email protected]
Subject   st: Re: ranksum test & interval length
Date   Mon, 12 Jan 2004 17:20:39 +0000

At 16:58 12/01/04 +0000, Paul Seed wrote (in reply to Clint Thompson):

Clint here crosses the boundary between ordinal & interval
scales (strictly he also needs a value "uncomfortable", say 3 * mild).
It is now appropriate to work out means, totals, even standard
deviations; everything being in units of "mild".  To legitimately
carry out out a t-test or regression, he needs only to declare that
his sample is large enough for the Normal approximation to work
(n>50, say).  Otherwise, he can use bootstrapping for his
confidence intervals & p-values.

Another possibility, if the Normal approximation does not work, is for Clint to define his "discomfort" variable and then to define confidence intervals for median differences between two groups using the -cendif- program, which is part of the -somersd- package. The -somersd- package can be installed from SSC using Web-aware Stata, and includes .pdf manuals. Type

ssc desc somersd

to find out more, and type

ssc inst somersd

to install the -somersd- package.

I hope this helps.

Roger


--
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]
Website: http://www.kcl-phs.org.uk/rogernewson

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

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




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