Date: Fri, 28 Mar 1997 19:08:13 -0500
Reply-To: Pierre Duchesne <duchesne@DMS.UMONTREAL.CA>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Pierre Duchesne <duchesne@DMS.UMONTREAL.CA>
Subject: Symbol problem
Content-Type: text/plain; charset=ISO-8859-1
First, i ran PROC REG, and found fitted values from my regression.
Now i want to overlay my regression line with original observations.
Here is my program:
INPUT occupe $ fume mort;
PROC REG DATA=cancer;
MODEL mort = fume / P;
OUTPUT OUT=regout RESIDUAL=residu RSTUDENT=rstudent P=prevue;
PROC GPLOT DATA=regout;
PLOT mort*fume prevue*fume / OVERLAY;
FILENAME gsasfile 'graph2.ps';
GOPTIONS DEVICE=ps GACCESS=gsasfile;
I tried everything:
I tried also something like mort*fume=1 prevue*fume=2.
However, it doesn't work. I can't assign different symbols statement
for my two plots. With the preceding instructions, it is always the
same symbol statement who is used for the two plots.
I really want to fit my regression line by myself, because maybe i will
remove some points (outliers values), and plot a more robust regression
line on the data. So i want to be able to join my own fitted values,
and have a scatter plot of my observations. How can i do that?
Thank you very much for help!