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

Re: st: Boxplot with median *and* mean not possible?


From   Ronan Conroy <[email protected]>
To   "statalist hsphsun2.harvard.edu" <[email protected]>
Subject   Re: st: Boxplot with median *and* mean not possible?
Date   Thu, 05 Jun 2003 11:00:43 +0100

on 04/06/2003 4:35 pm, Ernest Berkhout at [email protected] wrote:

> Hi Statalisters,
> 
> is it possible to create a boxplot in which not only the median is plotted,
> but also the mean? It appears to me that momentarily this option is not
> available, am i overlooking something? More experienced users could create
> such a graph with twoway-overlaying a rcap, a rbar and two scatters but of
> course it would be more elegant to have it as an option in <graph boxplot>
> imho...

Plotting the mean and the median is a little confusing unless you give them
distinct representations. JMP has a neat trick of superimposing the mean and
its confidence interval, plotted as a diamond, on the boxplot. It also draws
lines inside the diamond for comparison of means, but these are approximate
(same goes for simultaneous confidence intervals for the median, available
only, I think, in Data Desk).

Ronan M Conroy ([email protected])
Lecturer in Biostatistics
Royal College of Surgeons
Dublin 2, Ireland
+353 1 402 2431 (fax 2764)

--------------------

--------------------------------------------------------------------------------------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.
If you have received this email in error please notify the
originator of the message. This footer also confirms that this
email message has been scanned for the presence of computer viruses.

Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of The Royal College Of Surgeons in Ireland.

--------------------------------------------------------------------------------------------------------------------


*
*   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