Bookmark and Share

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]

st: * mark indicating between group significans in box plots


From   Lars Folkestad <lfolkestad@health.sdu.dk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: * mark indicating between group significans in box plots
Date   Thu, 10 Nov 2011 09:49:06 +0100

Dear List

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.

Any thoughts?

Best
lars



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


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index