Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Nick Cox <njcoxstata@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: * mark indicating between group significans in box plots |

Date |
Thu, 10 Nov 2011 11:50:40 +0000 |

I will show my hand, as it were. I've often seen people test a difference between means and show a box plot as the graphical equivalent. I'd argue that a plot of means with confidence intervals would be directly related, although even then there are pitfalls. Of course, that may not be what you are doing. If your test were say a Mann-Whitney-Wilcoxon test, a box plot makes more sense. Even so, a -dotplot- or -stripplot- (SSC) shows much detail than a box plot for two groups. A -qqplot- is even better. I personally dislike starring as a primitive practice and draw the line at explaining how to do it but there are plenty of people to think otherwise. Nick On Thu, Nov 10, 2011 at 9:40 AM, Lars Folkestad <lfolkestad@health.sdu.dk> wrote: > Graphics not graphic. > l > > Den 10/11/11 10.31 skrev "Lars Folkestad" <lfolkestad@health.sdu.dk>: > >>Sorry, thought it was a graphic question and did thus not mention the >>statistics >> >>lars >> >>Den 10/11/11 10.05 skrev "Nick Cox" <njcoxstata@gmail.com>: >> >>>Various thoughts, but I'll mention only one: What's the underlying test? >>> >>>Nick >>> >>>On Thu, Nov 10, 2011 at 8:49 AM, Lars Folkestad >>><lfolkestad@health.sdu.dk> wrote: >>>> >>>> Im trying to indicate between group significant in a box plot using >>>> >>>> >>>> . graph box y1 y2 >>>> >>>> Now i want to indicate that the between y1 and y2 there is a between >>>>group >>>> significants using the standard * for p<0.05 and ** for p<0.001 >>>> I can do it in the editor, but if there is a code i could put in my do >>>> file, that would be the easiest. >>>> >>>> Iv been fiddling with the yvar option in something like this: >>>> >>>> . graph box y1 y2, box(1, lcolor(navy) yvar(re("*")) box(2, >>>>fcolor(green) >>>> lcolor(green)) >>>> >>>> >>>> But that does not help. >>* * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st: * mark indicating between group significans in box plots***From:*Ronan Conroy <rconroy@rcsi.ie>

**Re: st: * mark indicating between group significans in box plots***From:*Lars Folkestad <lfolkestad@health.sdu.dk>

**References**:**Re: st: * mark indicating between group significans in box plots***From:*Lars Folkestad <lfolkestad@health.sdu.dk>

**Re: st: * mark indicating between group significans in box plots***From:*Lars Folkestad <lfolkestad@health.sdu.dk>

- Prev by Date:
**st: RE: error when generating variable in nested foreach** - Next by Date:
**Re: st: MLE Estimation of Poisson process** - Previous by thread:
**Re: st: -nlsur- AIDS** - Next by thread:
**Re: st: * mark indicating between group significans in box plots** - Index(es):