Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <n.j.cox@durham.ac.uk> |
To | "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> |
Subject | RE: st: box and whisker plot with proportional box size? |
Date | Thu, 2 Sep 2010 15:07:58 +0100 |
-stripplot- is from SSC. Thanks for the mention, Nick n.j.cox@durham.ac.uk Ronan Conroy On 2 MFómh 2010, at 14:54, Jeph Herrin wrote: > A colleague has shown me a couple of box and whisker plots where > the width of the box (that is, the dimension that is perpindicular > to the whiskers) is proportionate to the number of observations the > box represents. I think it's a useful modification, and have been > trying to create this myself. However there seems to be no option > in -graph box- to control the width of the box. While this seems like a useful option, it can rapidly result in illegible graphs and crowded axis labels in the presence of groups of widely differing sizes. JMP does it, and I keep the option turned off by default. If you want to give an idea of the amount of data in each group, then superimposing this as text on the graph might be more efficient. What always seemed to me to be a better idea was giving some sort of display of the actual data points with a boxplot superimposed, or a little to one side, as you can do with Nick Cox's -stripplot-. This shows more and, of course, gives a good impression of the density of data behind each boxplot. * * 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/