Assigning number of occurrence to variable
Posted: November 2nd, 2015, 1:42 am
Hi Josh or who can help,
I would like to to know the total number of members who are 5yrs and older in a roster (S1Roster) and pass it to variable (s2aSize).
I came up with this
s2aSize = totocc(SEC1000 where s1q4a > 5);
s2aSize = count(SEC1000 where s1q4a > 5);
It did not work, any help pls
I would like to to know the total number of members who are 5yrs and older in a roster (S1Roster) and pass it to variable (s2aSize).
I came up with this
s2aSize = totocc(SEC1000 where s1q4a > 5);
s2aSize = count(SEC1000 where s1q4a > 5);
It did not work, any help pls