SSPS Syntax Language Relational Operators

By Arthur Griffith

Part of SPSS For Dummies Cheat Sheet

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 relational operators you can use to compare numbers:

Symbol Alpha What It Is
= EQ Is equal to
< LT Is less than
> GT Is greater than
<> NE Is not equal to
<= LE Is less than or equal to
>= GE Is greater than or equal to