I am new to SAS, try to figure out Proc Tabulate more.
proc tabulate data=stem_camp1;
class gender pass SUBJECT;
table GENDER, SUBJECT*PASS*(n="count" rowpctn="%");
run;
I have a code like this above.
SAS is calculating percentage BIOS AND MATH, so when I sum up 4 of %, it gets 100%
but I want SAS to calculate percentage BIOS AND MATH separate.
for example like this
BIOS MATH
MALE - - 10 100% 10 50% 10 50%
