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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: barcharts with error plot + legend?


From   Ronan Conroy <rconroy@rcsi.ie>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: barcharts with error plot + legend?
Date   Thu, 24 Nov 2011 12:16:29 +0000

There are people who love dynamite plots and people who don't. 

I don't. 

They waste space displaying the mean (a point value) as a bar, and the standard error that doesn't tell us much.

My own preference is for Nick Cox's -stripplot- (from ssc) with added means and confidence intervals. This allows the reader to see the *actual data* as well as the summary statistics. 

The fact that although dynamite plots can be done in Stata (albeit rather tediously) no-one appears to have written a graph command to automate the process would argue that they have few advocates on this list.


On 2011 Samh 23, at 23:25, Guo Xu wrote:

> Dear list,
> 
> I'm looking for a procedure that can swiftly create barcharts with
> over(.) and by(.) + allows me to add a legend. Basically, I'm looking
> for an easy way to create this:
> 
> http://www.ats.ucla.edu/stat/stata/faq/barcap.htm
> 
> The procedure described on the website, however, is incredibly tedious
> and I failed to find a shortcut. I'd be grateful for any suggestions
> or hints!

Ronán Conroy
rconroy@rcsi.ie
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/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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