SAS regressionplot
MODELBAND用来画置信区间的,只能和这三个plot一块使用。(LOESSPLOT, REGRESSIONPLOT, or PBSPLINEPLOT)
ods html; proc template; define statgraph _regressionplot; begingraph; layout overlay / xaxisopts = (griddisplay = on) yaxisopts = (griddisplay = on); modelband "Reg" / name = "band" legendlabel = "95% Confidence"; scatterplot x = height y = weight; regressionplot x = height y = weight / cli= 'Reg'; discretelegend 'band' / location = inside halign = right valign = bottom; endlayout; endgraph; end; run; proc sgrender data = sashelp.class template = _regressionplot; run;
本文来自博客园,作者:Iving,转载请注明原文链接:https://www.cnblogs.com/SAS-T/p/15368921.html