* Bears Example -- bears.sas source code; * Create bears dataset; options linesize=70 nodate; 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; title '85 Bears Dataset'; label height='Height in Meters' weight='Weight in Kilos'; proc print; * Set value of symbol to dot, color to blue; symbol v=dot c=blue; * Find simple regression equation with plots; * for residual analysis; proc reg; model weight=height; plot weight*height r.*height r.*p. r.*nqq.; run; quit;