Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Box plots


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Box plots
Date   Wed, 8 Mar 2006 21:51:15 -0000

Short of a data restructure, I think you need 
to produce the graphs separately and then combine. 

Nick 
[email protected] 

Lawrence Hanser
 
> I have two groups measured on each of three variables.  I'd like to
> draw a box plot that has the boxes grouped for each variable rather
> than for each group.  So the order of the plots would be:
> 
> (Group1_Var1 Group2_Var1)  (Group1_Var2 Group 2_Var2)  
> (Group1_Var3 Group2_Var3)
> 
> if I do something like:
> 
> graph box Var1-Var3 over(Group)
> 
> I get, which is not what I want...:
> 
> (Group1_Var1 Group1_Var2 Group1_Var3) (Group2_Var1 
> Group2_Var2 Group2_Var3)

*
*   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