loessplot 局部多项式拟合,
ods html; proc template; define statgraph _loessplot; begingraph; layout overlay / xaxisopts = (griddisplay = on) yaxisopts = (griddisplay = on); modelband "Loess" / name = "loess" legendlabel = "95% Confidence"; scatterplot x = horsepower y = mpg_city; loessplot x = horsepower y = mpg_city / clm= 'Loess'; discretelegend 'loess' / location = inside halign = right valign = top; endlayout; endgraph; end; run; proc sgrender data = sashelp.cars(where = (type = "Sedan")) template = _loessplot; run;