* 출처 : http://support.sas.com/kb/38/001.html
proc format;
picture mypct low-high='000,009%';
run;
proc tabulate data=sashelp.class;
class name sex;
var weight height;
table name, sex*(weight height)*(pctsum*f=mypct.);
run;
Sex | ||||
---|---|---|---|---|
F | M | |||
Weight | Height | Weight | Height | |
PctSum | PctSum | PctSum | PctSum | |
Name | . | . | 5% | 5% |
Alfred | ||||
Alice | 4% | 4% | . | . |
Barbara | 5% | 5% | . | . |
Carol | 5% | 5% | . | . |
Henry | . | . | 5% | 5% |
James | . | . | 4% | 4% |
Jane | 4% | 5% | . | . |
Janet | 5% | 5% | . | . |
Jeffrey | . | . | 4% | 5% |
John | . | . | 5% | 4% |
Joyce | 2% | 4% | . | . |
Judy | 4% | 5% | . | . |
Louise | 4% | 4% | . | . |
Mary | 5% | 5% | . | . |
Philip | . | . | 7% | 6% |
Robert | . | . | 6% | 5% |
Ronald | . | . | 6% | 5% |
Thomas | . | . | 4% | 4% |
William | . | . | 5% | 5% |
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!