Compute anyone who allocated 1+ points across multiple variables

0     2     Edited Apr 15, 2016 by Anonymous

I have a set of open-end numeric variables that were part of a 100 point allocation question. If I’m trying to create a NET variable that pulls in anyone who allocated 1+ points across 3 of the variables, how would I write that syntax?

I tried this syntax, but it’s telling me no one meets this criteria, though I know there are respondents who do.

pctin(Q12_1_G_1>=1 or q12_1_G_3>=1 or Q12_1_g_4>=1)

Comments

0

robsmith Apr 15, 2016

Your formula is very close. Try adding “,true”, like this:

pctin(Q12_1_G_1>=1 or q12_1_G_3>=1 or Q12_1_g_4>=1,true)

The formula is saying: compute the percent of respondents where the first expression equals true.

0

Yes, that worked!!! Thank you :-) – Anonymous 4/15/2016 3:30:11 PM

Leave a Comment

Please sign in to leave a comment.