REPLACEMISSING Subcommand (ADP command)

The REPLACEMISSING subcommand replaces missing values in continuous, ordinal, and nominal fields with the mean, median, or mode, respectively.

INPUT=YES | NO. Replace missing values in input fields. By default, missing values are replaced in inputs. Optionally specify the keyword EXCLUDE and a list in parentheses of the field measurement levels to determine which input fields should be checked; for example: INPUT=YES causes the procedure to replace missing values in all input fields, while INPUT=YES(EXCLUDE(CONTINUOUS NOMINAL)) causes the procedure to replace missing values in fields with the ordinal measurement level.

TARGET= NO | YES. Replace missing values in the target. By default, missing values are not replaced in the target. When replacing missing values in the target, optionally specify the keyword EXCLUDE as described for the INPUTkeyword above.