SPSS Syntax Language Logical Operators

Syntax offers conditional statements that are executed only if conditions are right. Usually those conditions are determined by evaluating the contents of a variable with a logical or relational operator. The following table lists the logical operators you can use for longer, complex comparisons:























SymbolAlphaDefinition
&ANDBoth relational operators must be true
|OREither relational operator can be true
~NOTReverses the result of a relational operator








dummies

Source:http://www.dummies.com/how-to/content/spss-syntax-language-logical-operators.html

No comments:

Post a Comment