11-19-2015 03:32 AM
I want to make a division of sums of variable a and b in proc tabulate for the all row, i.e. in the proc tabulate I want to have 1000/2450=40,82%. does anyone know how to do that?
See small example below
infile datalines delimiter=',';
input a b;
proc tabulate data=EX1
var a b a_b;
all=''*a_b=''*(MEAN='simple avg'*f=percent7.2 ) ;