06-14-2013 03:37 PM
I've been instructed to produce a scatterplot between a response and predictor, grouped by an indicator variable. I am supposed to have one scatterplot show the different levels of the indicator variable. I am using a limited, remote version of SAS - so there are some procedures I can't really use. I'm limited to using proc reg or proc gplot.
This is what I have tried, but what it does it produce two separate scatterplots for each level of the indicator:
goptions reset = all;
symbol1 v=dot c=red h=1;
symbol2 v=plus c=blue h=2;
proc gplot data=datafile;
I have also tried:
proc reg data=datafile;
model Y = X;
I have tried other variations, and have also sorted by the indicator beforehand. Any help would be appreciated.
Need further help from the community? Please ask a new question.