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

RE: st: Query- graph box


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Query- graph box
Date   Wed, 11 Jun 2003 16:52:24 +0100

[email protected]
> 
> My thanks for Ernest Berkhout for his suggestion below.  I 
> have checked the
> discussion on the Statalist archive of last week, but I am 
> not sure whether
> it is worth it to create four graphs to be 
> two-way-overlayed.  To recap, my
> query was on how to impose the "value" of the median 
> in/out/alongside its
> boxplot. 
> 
> This maybe too simplistic but would the following be a 
> solution IFF "twoway"
> would include "box" as a plot-type - consider a continuous 
> variable X, has 3
> medians 
> (=100, 150, 200) for 3 different sites (=1,2,3), respectively.
> 
> #delimit ;
> twoway box X  , over(site, total)  ytitle(" ")  ylabel( , 
> grid)  title(" ")
> subtitle(" ")  note(" ", span)  | |  ,
> 	   text ( 1, 100  "100" , place(e))  
> 	   text ( 2, 150  "150" , place(e)) 
> 	   text ( 3, 150  "200" , place(e)) ;
> #delimit cr
> 
> Many thanks in advance for your thoughts and assistance.

I have lost track here. This isn't legal syntax; so 
are you proposing that Stata add -twoway box- as 
new -twoway- type? 
 
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