Missing-value functions take various numeric arguments and yield various types of results. Except where otherwise stated below, the normal rules of evaluation apply within expression arguments to these functions. In particular, user-missing values for numeric variables are converted to system-missing values.

— Function: **NMISS** (`expr `[`, expr`]`...`)

Each argument must be a numeric expression. Returns the number of system-missing values in the list, which may include variable ranges using the

var1`TO`

var2syntax.

— Function: **NVALID** (`expr `[`, expr`]`...`)

Each argument must be a numeric expression. Returns the number of values in the list that are not system-missing. The list may include variable ranges using the

var1`TO`

var2syntax.