Hello all! I am attempting to create a variable that counts for a certain category of another variable. For example, there are 4 variables in my data (22a, 22b, 22c, 22f). They both have two categories (0 and 1). How would I create a new code (for ex: countadl) that counts each answer that falls under the '1' category, for all four variables? Ideally, my new count variable would have all of the '1's from all of the 4 variables.
-
Login or Register
- Log in with

Comment