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

st: Re: mean and median comparison


From   Roger Newson <[email protected]>
To   [email protected]
Subject   st: Re: mean and median comparison
Date   Wed, 29 Oct 2003 10:40:22 +0000

At 11:27 29/10/03 +0100, Carmine Ornaghi wrote:
hi. I have to compare the mean and the median of a
variable for two groups of firms (acquired and
acquirer) but this variable is not normally
distributed (so that I cannot use ttest).
I know the command ksmirnov and median to compare the
distribution and the median but they just tell me that
they are not equal. When I look at the main statistics
(using "summarize, detail" for the two groups), I have
that the mean is grater in one group but the median is
lower. Any suggestion?
You might use the program -cendif-, part of the -somersd- package, to calculate confidence intervals for median differences or ratios. The package is distributed with .pdf manuals. In Stata, type -ssc desc somersd- to find out more.

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