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

st: RE: boxplots over varx keeping arithmetic diferent intervals


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: boxplots over varx keeping arithmetic diferent intervals
Date   Tue, 27 May 2003 19:09:23 +0100

Jose Maria Pacheco de Souza

> is it possible to create a boxplot graph where the boxes 
> are separated in
> the x axis keeping distances according to the arithmetic 
> distribution of the
> x variable?
> For example, if x==10, 20, 100, then the distance between 
> box1 to box2
> should be 10 x units, and the distance of box2 to box3 
> should be 80 x units.
> I have both version7 and version8.

I don't think so. But you can go

dotplot yvar , by(xvar) center median bar 

and -xvar- is treated literally, that is, as numeric not 
categorical. 

A -dotplot- often shows interesting or important 
fine structure omitted by a box plot. 

Nick 
[email protected] 

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index