SAS pbsplineplot fit
ods html; proc template; define statgraph _pblineplot; begingraph; layout overlay / xaxisopts = (griddisplay = on) yaxisopts = (griddisplay = on); scatterplot x = horsepower y = mpg_city; pbsplineplot x = horsepower y = mpg_city / smooth = 1; endlayout; endgraph; end; run; proc sgrender data = sashelp.cars(where = (type = "Sedan")) template = _pblineplot; run;
本文来自博客园,作者:Iving,转载请注明原文链接:https://www.cnblogs.com/SAS-T/p/15369742.html