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)
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.
Yes, that worked!!! Thank you :-) – Anonymous 4/15/2016 3:30:11 PM
Comments