FILENAME goptions URL "http://192.38.117.59/~linearpredictors/datafiles/goptions.sas"; %include goptions; FILENAME url URL "http://192.38.117.59/~linearpredictors/datafiles/readFever.sas"; %include url; PROC LOESS DATA = fever; ODS OUTPUT OUTPUTSTATISTICS = results; MODEL death=alco/SMOOTH=0.75; RUN; /* Scatter plot of death vs weekly alcohol consumption. Notice that the points where death = 1 are omitted from the plot */ PROC GPLOT DATA = results; WHERE DepVar < 1; PLOT (DepVar Pred)*alco/ OVERLAY HAXIS = AXIS1 VAXIS = AXIS2; AXIS1 MINOR=NONE ORDER=(0 TO 15 BY 5); AXIS2 MINOR=NONE ORDER=(0 TO 0.04 BY 0.01) LABEL=(A=90 R=0); SYMBOL1 VALUE=DOT INTERPOL=NONE COLOR=BLACK; SYMBOL2 VALUE=CIRCLE INTERPOL=NONE COLOR=BLACK; RUN; QUIT;