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

RE: st: Query- graph box


From   siyama@who.int
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: Query- graph box
Date   Wed, 11 Jun 2003 17:57:44 +0200

My apologies for  not being so clear, yes, I am inquiring whether it is at
all possible for Stata to add -twoway box- as a new -twoway type-

Best regards,

Amani




-----Original Message-----
From: Nick Cox [mailto:n.j.cox@durham.ac.uk]
Sent: Wednesday, 11 June 2003 17:52
To: statalist@hsphsun2.harvard.edu
Subject: RE: st: Query- graph box


siyama@who.int
> 
> 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 
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/
*
*   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