Hi, I wish to sum binary integers and create a new var as the sum of each record. A percentage of each type of occurrence is then computed. An example is shown below. 'var1' is an available binary integer of type numeric. 'sum_var1' is to be computed from each binary integer (var1). 'counts of n' is the number of occurrences in sum_var1 of 1, 2, 3, etc. 'total counts' is the value given in Properties-->Advanced-->Rows for the table of interest. var1 sum_var1 1000 1 100 1 100 1 100010 2 100011 3 1 1 100 1 1000 1 100001 2 11000 2 1 1 100001 2 100000 1 10000 1 101000 2 counts of 1 9 % of 1 60 counts of 2 5 % of 2 33.33333 counts of 3 1 % of 3 6.666667 total counts 15 Thanks. capam
... View more