naivearies 发表于 2010-5-13 14:09 
假如有三组数据
12 32 54 56 76 78
12 12 11 55 67 98
12 32 54 67 45
;
如何用SAS画出它们的95%CI,区间数值倒是会计算,但不知道怎么画图,请各位指点。多谢!
Here is an example.
goptions reset=all border;
symbol1 interpol=rlclm95
value=circle
cv=darkred
ci=black
co=bluen
width=2;
data t1;
do i = 1 to 30;
x=rannor(12345); err=rannor(12345);
y= 1+1*x+err;
output;
end;
run;
proc gplot data=t1;
plot y*x / regeqn;
run;
quit;