User Guide

142
Chapter 7
Old Value. The value(s) to be recoded. You can recode single values, ranges of values,
and missing values. System-missing values and ranges cannot be selected for string
variables b
ecause neither concept applies to string variables. Old values must be the
same data type (numeric or string) as the original variable. Ranges include their
endpoints and any user-missing values that fall within the range.
Value. Individual old value to be recoded into a new value. The value must be the
same data type (numeric or string) as the variable(s) being recoded.
System-missing. Values assigned by the program when values in your data are
undefined
according to the format type you have specified, when a numeric field
is blank, or when a value resulting from a transformation command is undefined.
Numeric system-missing values are displayed as periods. String variables cannot
have syste
m-missing values, since any character is legal in a string variable.
System- o
r user-missing.
Observations with values that either have been defined as
user-missing values, or are unknown and have been assigned the system-missing
value, which is indicated with a period (.).
Range. Inclusive range of values. Not available for string variables. Any
user-mis
sing values within the range are included.
All othe
r values.
Any remaining values not included in one of the specifications on
the Old-New list. This appears as ELSE on the Old-New list.
New Value
.
The single value into which each old value or range of values is recoded.
New values can be numeric or string.
Value. Value into which one or more old values will be recoded. The value must
be the sam
edatatype(numericorstring)astheoldvalue.
System
-missing.
Recodes specified old values into the system-missing value.
The system-missing value is not used in calculations, and cases with the
system-missing value are excluded from many procedures. Not available for
string v
ariables.
Copy ol
d values.
Retains the old value. If some values don't require recoding,
use this to include the old values. Any old values that are not specified are not
included in the new variable, and cases with those values will be assigned the
system
-missing value for the new variable.
Output variables are strings. Defines the new, recoded variable as a string
(alphanumeric) variable. The old variable can be numeric or string.