|Date: ||Mon, 3 Sep 2007 18:56:22 -0000|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|Subject: ||mean plot question|
|Content-Type: ||text/plain; charset="iso-8859-1"|
I have to do a mean plot of ecog score at different time points.
(baseline, week1, week2 week3 and so on). I have the plot created. In
the top right corner of the plot i have to display the name of the
treatment followed by (N= ), where N = number of patients within each
treatment. There are two treatment. treatment A and B. I have the N
calculated using proc freq. I have the means at each time point. Also
for example if in the plot for each treatment there are 2 lines such
that there is a linear decrease in the ecog as time increases, then i
have to display (*), which indicates that the p-value at that visit <
0.05. I have to put an asterik underneath of the two lines where the
pvalues for that particular time point is < 0.05. I have the p's
calculated using proc glm. I have everything in one dataset. I created
the plot, but i just need to create a legend for treatment A (N=) and
for those (*)'s.
Those * will be displayed only when for that time point the pvalues
will be < 0.05.
Thanks in advace.