* SAS source code for graphing the regression line, 95% confidence and prediction intervals; data bears; infile 'c:/datasets/bears85.txt' firstobs=3; input name $ 4-20 pos $ 24-25 ht_ft 27 ht_in 29-30 wt_lbs; height = 0.0254 * (ht_ft * 12 + ht_in); weight = 0.4536 * wt_lbs; keep height weight; proc print; symbol1 v=dot i=rl cv=black ci=red l=1; symbol2 v=none i=rlclm90 ci=blue l=2; symbol3 v=none i=rlcli90 ci=green l=3; proc gplot; plot weight*height=1 weight*height=2 weight*height=3 / overlay; run; quit;