.- help for ^nmissing, npresent^ (STB-49: dm67; STB-60: dm67.1) .- Numbers of missing (present) values ----------------------------------- ^nmissing^ [varlist] [^if^ exp] [^in^ range] [ ^, m^in^(^#^) o^bs ] ^npresent^ [varlist] [^if^ exp] [^in^ range] [ ^, m^in^(^#^) o^bs ] Description ----------- ^nmissing^ lists the number of missing values in each variable in varlist (or optionally in each observation). Missing means numeric missing or . for numeric variables and empty or ^""^ for string variables. ^npresent^ lists the number of present (non-missing) values in each variable in varlist (or optionally in each observation). Options ------- ^min(^#^)^ specifies that only numbers at least # should be listed. Default 1. The argument may be any positive integer or expression evaluating to a positive integer. Expressions may include _N. As a special case ^all^ means the number of variables in varlist or, with ^obs^, the number of observations. ^obs^ specifies that counting is for observations, not variables. Examples -------- . ^nmissing^ . ^nmissing rep78^ To see which observations have all missing values: . ^nmissing, min(all) obs^ . ^npresent^ Author ------ Nicholas J. Cox, University of Durham, U.K. n.j.cox@@durham.ac.uk Also see -------- STB: STB-49 dm67