LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2007, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 31 Jul 2007 15:55:57 -0400
Reply-To:     "Bross, Dean S" <dean.bross@VA.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Bross, Dean S" <dean.bross@VA.GOV>
Subject:      Re: Standard deviation plot with groups
In-Reply-To:  <200707311854.l6VFQbVk025089@mailgw.cc.uga.edu>
Content-Type: text/plain; charset="us-ascii"

There is a trick you can use, but it requires that you restructure your data before feeding it into PROC GPLOT

One of the options on the SYMBOL statement is the INTERPOL=HILO<C><option>

So you can set up the data so that in the high, low and close positions, the data values will be the +1 sd, -1 sd and mean.

This is a sketchy description, and I can give you more details if you need them.

Dean Bross

-----Original Message----- From: owner-sas-l@listserv.uga.edu [mailto:owner-sas-l@listserv.uga.edu] On Behalf Of Sonia Sent: Tuesday, July 31, 2007 2:54 PM To: SAS-L@LISTSERV.UGA.EDU Cc: Sonia Boyum Subject: Standard deviation plot with groups

I would like to create a standard deviation plot showing the mean with lines showing +/- the standard deviation for groups arranged by day. I want these all on the same chart. I have the variables group, day and temperature. Is there any way to do this without rearranging the data? In the past I have created a new variable "group/day" so that I could plot these side by side, but it is cumbersome.

I have tried to create with proc gplot, but I cannot figure out how to have two grouping variables. I could use bar charts with proc gchart to convey this information, which is pretty straightforward, but I don't like the bar charts very much for displaying information about means.

Thanks in advance.


Back to: Top of message | Previous page | Main SAS-L page