Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st: * mark indicating between group significans in box plots
From
Nick Cox <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
RE: st: * mark indicating between group significans in box plots
Date
Thu, 10 Nov 2011 15:29:31 +0000
I'll still add a rider that not only do these box plots lose detail on the distributions, they throw away all information on the pairing.
Tukey himself had a good example of how a box plot can hide really important structure in Tukey, J.W. 1977. Exploratory data analysis. Reading, MA.
On pairing there are some ideas in
SJ-9-4 gr0041 . . . . . . Speaking Stata: Paired, parallel, or profile plots
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N. J. Cox
Q4/09 SJ 9(4):621--639 (no commands)
explores paired, parallel, and profile plot making for
changes, correlations, and other comparisons between
variables
SJ-4-3 gr0005 . . . . . Speaking Stata: Graphing agreement and disagreement
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N. J. Cox
Q3/04 SJ 4(3):329--349 (no commands)
how to select the right graph to portray comparison or
assessment of agreement or disagreement between data
measured on identical scales
Perhaps your "collaborators" are acting as if they were your bosses. But even then "Well, that graph is a good idea, but let me suggest a better one!" would be the line I would take.
Nick
[email protected]
Lars Folkestad
Thank you that did the 'trick'.
l
Den 10/11/11 13.19 skrev "Nick Cox" <[email protected]>:
>Here is an oblique answer.
>
>sysuse auto
>graph box turn trunk, text(55 50 "an interesting graph") ysc(r(. 60))
>
>Nick
>[email protected]
>
>Lars Folkestad
>
>It seems that some of my text has disappeared here.
>
>Im using a: Wilcoxon signed ranks test - as my data is paired and not
>normally distributed.
>I respect your decision not to answer, but seeing that this the starring
>is a much used and
>Often asked for by reviewers in my field I hope someone who knows the
>answer to how to star mark
>A boxplot will answer.
>
>Den 10/11/11 12.50 skrev "Nick Cox" <[email protected]>:
>
>>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.
>
>Den 10/11/11 10.31 skrev "Lars Folkestad" <[email protected]>:
>
>>>>Sorry, thought it was a graphics question and did thus not mention the
>>>>statistics
>
>Den 10/11/11 10.05 skrev "Nick Cox" <[email protected]>:
>
>>>>>Various thoughts, but I'll mention only one: What's the underlying
>>>>>test?
>
>On Thu, Nov 10, 2011 at 8:49 AM, Lars Folkestad
>
>>>>>> 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))
*
* 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/