proc freq data=sashelp.heart;
tables smoking_status / nocum;
run;
The FREQ Procedure
Smoking Status
Smoking_Status Frequency Percent
------------------------------------------
Heavy (16-25) 1046 20.22
Light (1-5) 579 11.19
Moderate (6-15) 576 11.13
Non-smoker 2501 48.35
Very Heavy (> 25) 471 9.10
Frequency Missing = 36