User Guide
211
Sorting and Sel
ecting Data
Selecting Cases Based on Conditional Expressions
To select cases based on a conditional expression:
E Select If condition is satisfied and click If in the Select Cases dialog box.
This opens the Select Cases If dialog box.
Figure 10-7
Select Case
sIfdialogbox
The conditional expression can use existing variable names, constants, arithmetic
operato
rs, logical operators, relational operators, and functions. You can type and edit
the expression in the text box just like text in an output window. You can also use the
calculator pad, variable list, and function list to paste elements into the expression.
For mor
e information, see “Using Conditional Expressions” in Chapter 9 on p. 187.
Selecting a Random Sample
To obtain a random sample:
E Select Random sample of cases in the Select Cases dialog box.
E Click Sample.
This opens the Select Cases Random Sample dialog box.