Is it possible to use Nested if any command in spss?
for example
if any(1, a to c) and if (1, s to x) xx=1.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sure, but your syntax isn’t quite right.
if (any(1, a to c) and any(1, s to x)) xx=1.
The if expression can be arbitrarily complicated, but it needs to be an expression. The if part is a statement.
HTH