data cer2a; input age gender $ weight; if 0<=age<10 then agecat=0; if 10<=age<20 then agecat=1; if 20<=age<30 then agecat=2; if 30<=age<40 then agecat=3; if 40<=age<50 then agecat=4; if age>=50 then agecat=5; cards; 7 f 50 7 m 65 13 f 75 13 m 92 27 f 115 27 m 130 34 f 120 34 m 175 42 f 115 42 m 186 60 f 112 60 m 145 ;;;; proc print;