Bookmark and Share

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: significance stars on stata plots


From   Ronan Conroy <[email protected]>
To   "<[email protected]>" <[email protected]>
Subject   Re: st: significance stars on stata plots
Date   Wed, 3 Jul 2013 17:39:40 +0000

On 2013 Iúil 1, at 19:49, Slade, Alexander N wrote:

> Hello,
> 
> Is there a simple way to add significance stars to the various plots (e.g., bar graphs, line graphs, etc.)? For instance, if I wanted to have a bar chart comparing the mean years of education between men and women, is there a way to put a star (or two) on top of the female bar to denote a significant difference?

You could just as readily put it over the other bar. And that is a problem with adding these things to bar charts. With multiple bars, you need to draw attention to the bars being compared, and even with two bars, where do you put the star? 

Putting the information in a note is easier. 

With only two bars I would argue that showing two mean values using bars is a waste of graph space - why not show the data, the means and their confidence intervals using Nick Cox's -stripplot- from ssc?.

I have a personal rule that a graph should show at least one piece of information per square centimetre. Given that the smallest graph will still be about 12 square centimetres, this means that no graph should have less than 12 pieces of information. Graphs that break that rule are generally better as short sentences in the text. (Mean age was 32 years for men and 27 years for women, P =0.021.)

And written that way, you can see that you would really include some measure of dispersion in the text, hence my recommendation to do likewise in the graph. 

But you may be stuck with a researcher who wants two bars and a kiss…

Ronán Conroy
[email protected]
Associate Professor
Division of Population Health Sciences
Royal College of Surgeons in Ireland
Beaux Lane House
Dublin 2


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index