Opps. I think I made a mistake.
data have;
input type $ point;
cards;
A 4
B 5
A 2
C 4
D 1
A 5
;
proc freq data=have noprint;
table type*point/out=temp list;
run;
proc tabulate data=temp ;
class type point;
var count;
table type ,point*count=' '*(sum='n'*f=f10. rowpctsum='%') count=' '*(mean std);
run;
... View more