User Guide
137
Data Transform
ations
Figure 7-7
Count Occurrences If Cases dialog box
For general considerations on using an If Cases dialog box, see “Compute Variable: If
Cases” on p. 131.
Recoding Values
You can modify data values by recoding them. This is particularly useful for
collapsing or combining categories. You can recode the values within existing
variabl
es, or you can create new variables based on the recoded values of existing
variables.
Recode
into Same Variables
The Rec
ode into Same Variables dialog box allows you to reassign the values of
existing variables or collapse ranges of existing values into new values. For example,
you could collapse salaries into salary range categories.
You can
recode numeric and string variables. If you select multiple variables, they
must all be the same type. You cannot recode numeric and string variables together.