How do I count for each variable in PROC REPORT porcedure? I have tried n, proc means
so, here is my final dataset:
x1. x2 x3. x4
1 0. 1. 1
0. 0. 1. 1
1. 1. 0. 1
1. 0. 0. 0
1. 0. 0. 0
I need to count how many ones for each variable. and produce the proc report as:
x1. x2. x3. x4
n. 4. 1. 2. 3