Date: Thu, 17 Sep 2009 07:33:37 -0400
Reply-To: Nathaniel Wooding <nathaniel.wooding@DOM.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Nathaniel Wooding <nathaniel.wooding@DOM.COM>
Subject: Re: Multivariate boxplots
Content-Type: text/plain; charset="iso-8859-1"
Try using Proc Gplot . Assign a group value to each gender/level combination . Here is a very simplistic example of what I mean.
input group result;
plot result*group=group / haxis = axis1;
axis1 order = ( 0 to 4 by 1 );
symbol1 i = box c=green;
symbol2 i = box c = red;
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Thomas Fröjd
Sent: Thursday, September 17, 2009 4:22 AM
Subject: Multivariate boxplots
Hi I would like to make a boxplot of a measure over two factors for an
easy comparison. I can use proc boxplots BY statement to get multiple
plots but would prefer to either have them next to each other or all
plotted on the same plot to make comparison between the two factors easy.
For example, I have a continious outcome, my two factors are gender,
with two levels, and treatment, with four levels. How can I make a
boxplot where I can easily see how treatment differs between the genders.
I have looked over the internet for this but can't find any solution.
All suggestions are very welcome.
CONFIDENTIALITY NOTICE: This electronic message contains
information which may be legally confidential and or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect. The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful. If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it. Thank you.