1 m >110 53 22.3629
2 m 90-110 35 14.7679
3 m <90 38 16.0338
4 f >110 32 13.5021
5 f 90-110 43 18.1435
6 f <90 36 15.1899
11 对缺失值和非缺失值进行频数统计
data Htwtmissing;
set Htwttmp;
if weight<100 then weight=.;
run;
proc format;
value misscnt .= 'Missing'
other ='Nonmissing';
run;
proc freq data = Htwtmissing;
tables _numeric_ / missing nocum nopercent;
format _numeric_ misscnt.;
run;
结果:
age
age 频数
----------------------
Nonmissing 237