Examples (MISSING VALUES command)
Declaring Missing Values for Multiple Variables
MISSING VALUES V1 (8,9) V2 V3 (0) V4 ('X') V5 TO V9 (' ').
- The values 8 and 9 are declared missing for the numeric variable V1.
- The value 0 is declared missing for the numeric variables V2 and V3.
- The value X is declared missing for the string variable V4.
- Blanks are declared missing for the string variables between and including V5 and V9. All of these variables must have a width of four columns.
Clearing Missing Values for Selected Variables
MISSING VALUES V1 ().
- Any previously declared missing values for V1 are deleted.
Declaring Missing Values for All Variables
MISSING VALUES ALL (9).
- The value 9 is declared missing for all variables in the active dataset; the variables must all be numeric. All previous user-missing specifications are overridden.
Clearing Missing Values for All Variables
MISSING VALUES ALL ().
- All previously declared user-missing values for all variables in the active dataset are deleted. The variables in the active dataset can be both numeric and string.