| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: Comparing means and medians
Claude might also like to type
ssc desc somersd
which describes the somersd package, which has a module -cendif- for
calculating confidence intervals for median differences, and a module
-somersd- for calculating differences between 2 binary probabilities
(optionally using the Normalizing z-transformation). To install the
-somersd- package, type
ssc install somersd
You may then need to exit Stata and launch Stata again before -somersd-
can work, at least in some versions of Stata 9.
I hope this helps.
Best wishes
Roger
Roger Newson
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]
www.imperial.ac.uk/nhli/r.newson/
Opinions expressed are those of the author, not of the institution.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Michael S.
Hanson
Sent: 27 December 2006 00:20
To: [email protected]
Subject: Re: st: Comparing means and medians
On Dec 26, 2006, at 5:07 PM, Claude Francoeur wrote:
> I would like to make a test of equality (compare means and medians for
> continuous variables) for the above variables for two sub samples (pw
> = 0
> and pw = 1)
>
> I would like to generate the mean (t test) and median tests
> (Mann-Whitney,
> Wilcoxon) to verify if the groups are significantly different.
>
> I also need to make chi-squared tests for the dichotomic variables.
Try using the -findit- command. For example:
findit t test
findit equality test
findit median test
findit wilcoxon
etc. Hope this helps.
-- Mike
*
* 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/
*
* 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/