[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: RE: Other Box plots
> > 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.
On second thoughts, that's not
quite trivial. If it were, I would have
implemented the feature that John
desires within -hbox-.
Make sure you are also aware of what -dotplot-
can do. With the addition of bars for median
and quartiles, you can have a hybrid display
which increasingly I offer prefer to boxplots.
Any broad patterns and any fine structure
are often clear simultaneously, the best of both
* For searches and help try: