
80 NONPARAMETRIC REGRESSION
• For local fitting, SAS uses the normalized tricube weight function defined as
w(x) =
32
5
1 −∥x∥
3
3
, if ∥x∥ ≤ 1,
0, otherwise.
4.1.4 SAS Implementation: Plotting Fitted Loess Curve
To plot a fitted loess curve on a two-dimensional scatterplot, apply the following syn-
tax:
SYMBOL1 COLOR=black VALUE=dot; /*black dots on scatterplot*/
SYMBOL2 COLOR=black VALUE=none INTERPOL=join LINE=1;
/*curve displayed as solid */
SYMBOL3 COLOR=black VALUE=none INTERPOL=join LINE=2;
/*LowerCL band is displayed as dashed*/
SYMBOL4 COLOR=black VALUE=none INTERPOL=join LINE=2;
/*UpperCL band is displayed as dashed*/
PROC GPLOT data=output data name ...