其他分享
首页 > 其他分享> > SAS loessplot fit

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;

 

标签:griddisplay,fit,loessplot,city,horsepower,template,SAS,proc
来源: https://www.cnblogs.com/Python-T/p/15369380.html