input name$ sex$ math chinese english chem;
cards;
Sue F 35.1 36.7 28.3 36.1
Karen F 34.6 32.6 26.9 26.2
Jan F 31.3 33.9 27.1 31.2
Andrea F 28.6 34.1 29.1 30.3
Carol F 32.9 32.2 26.6 24.0
Ellen F 27.8 32.5 27.8 27.0
Jim M 26.3 27.6 23.5 22.4
Mike M 29.0 24.0 27.9 25.4
Sam M 27.2 33.8 25.2 24.1
Clayton M 27.0 29.2 23.0 21.9
;
run;
proc print data=class;
run;
proc means data=class mean std n max min range;
title 'Statistics For All Numeric Variables';
run;
proc means data=class maxdec=2 nmiss range
uss css t prt sumwgt skewness kurtosis;
title 'Requesting Assored Statistics';
run;
proc format;
value sexpr F='female'
M='male';
proc means maxdec=2;
class sex;
format sex sexpr.;
title 'Statistics With Two Class Variables';
run;



雷达卡


京公网安备 11010802022788号







