I'm attempting to create a table that contains two characteristics and I want to return the propotional split of those characteristics based on a variable (not n).
This is the code I am trying to use but something is causing an error:
proc tabulate data=scoredata missing;
table CHAR1 CHAR2 all, PAGEPCTN;
class CHAR1 CHAR2;
var VAR1;
run;
The output I'm expecting will have the values of char1 and char 2 down the left hand side with the % split of var1 in the middle with the sum of all the var1's totalling 100% for each char1 and char2 (200% in total).