MISSING subcommand (REPORT command)
MISSING
controls
the treatment of cases with missing values.
-
MISSING
specifications apply to variables named onVARIABLES
andSUMMARY
and to strings created with theSTRING
subcommand. - Missing-value specifications are ignored for variables
named on
BREAK
whenMISSING=VAR
orNONE
. There is one break category for system-missing values and one for each user-missing value. - The character used to indicate missing values is
controlled by the
FORMAT
subcommand.
VAR. Missing values are treated separately for each variable. Missing values are displayed in case listings but are not included in the calculation of summary statistics on a function-by-function basis. This is the default.
NONE. User-missing
values are treated as valid values. This applies to all
variables named on VARIABLES
.
LIST[([varlist][n])] . Cases with
the specified number of missing values across the specified list of
variables are not used. The variable list and n are specified in parentheses. If n is not specified, the default is 1. If
no variables are specified, all variables named on VARIABLES
are assumed.
Example
/MISSING= LIST (XVAR,YVAR,ZVAR 2)
- Any case with two or more missing values across the variables XVAR, YVAR, and ZVAR is omitted from the report.