Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Other Box plots


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Other Box plots
Date   Thu, 28 Nov 2002 08:45:18 -0000

Wallace, John
> 
> I'm still in the early stages of exploring Stata, but I 
> haven't found a way
> yet to get box plots to be generated the way I prefer.  The 
> built-in "box"
> parameter in the graph command comes close, in that the 
> whiskers encompass
> 1.5*IQR and further outliers are plotted individually - but 
> you can't use a
> by(groupvar) to get an array of related plots.
> The hbox addition I found in the STB files allows the by(groupvar)
> arrangement, but the whiskers encompass the entire range of 
> data, rather
> than a function of the IQR.  This allows true outliers to 
> dominate the graph
> in an undesirable way, IMO
> Is there a third way out there?  Or am I going to have to 
> learn how to
> program ados to get boxplots the way I like them?
> 

One possibility: copy -hbox- and fiddle with its output. 

Nick 
n.j.cox@durham.ac.uk 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index