In reply to Sunmee.

Do you mean visually compare the smoothers? If so, you can use the GROUP= option on the LOESS statement to display a curve for each group:

proc sgplot data=sashelp.cars(where=(type^='Hybrid'));
loess x=Weight y=mpg_city / group=type;
run;