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 on April 23, and its replacement, is already up and running.

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

RE: st: box and whisker plot with proportional box size?

From   Nick Cox <>
To   "''" <>
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, 


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:

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