SAS loessplot fit
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;
本文来自博客园,作者:Iving,转载请注明原文链接:https://www.cnblogs.com/SAS-T/p/15369380.html