|
Hi,
I am trying to generate a plot with the smoothed data from proc loess as
well as the raw data on the same graph. However, I would like to have the
raw data with no interpolation while the smoothed data should be represented
by a line. Any help on this issue would be greatly appreciated. I am using
SAS 9.1.3.
goptions reset = all;
axis1 order = (0 to 13 by 1) minor=none;
axis2 order = (0 to 1 by .25) minor = none label=(a=90 'Daily Death Rate by
1,000 pts');
Title "Fig 7.1 Mortality rate for pediatric kidney patient transplant
recipients";
proc gplot data = a;
plot pred*d_year depvar*d_year / overlay vaxis=axis2 haxis=axis1 ;
run;
quit;
pred is the smoothed prediction by LOESS.
depvar is the raw data.
Best regards,
Dominic.
|