Online Test Banks
Score higher
See Online Test Banks
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

SPSS Syntax Language Logical Operators

Part of the 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 logical operators you can use for longer, complex comparisons:

Symbol Alpha Definition
& AND Both relational operators must be true
| OR Either relational operator can be true
~ NOT Reverses the result of a relational operator
  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus

SPSS For Dummies Cheat Sheet


Inside Sweepstakes

Win $500. Easy.