Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
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/