help mdesc-------------------------------------------------------------------------------

Titlemdesc-- Displays the number and proportion of missing values for each variable invarlist.

Syntaxmdescvarlist[if] [in] [,abbreviate(#)anyallnone]

bymay be used withmdesc; seeby.

DescriptionProduces a table with the number of missing values, total number of cases, and percent missing for each variable in

varlist.mdescworks with both numeric and string variables.

Options

abbreviate(#)abbreviate variable names to#of characters; default isab(12).

anyspecifies to check how many observations have at least one missing value for any of the specified variables.

allspecifies to check how many observations have missing values for all of the specified variables.

nonespecifies to check how many observations have no missing values for any of the specified variables.

Saved ResultsThe

mdesccommand saves scalars and macros:Scalars

r(percent)percent missing for last variable specified inmdescr(total)total number of observations submitted tomdescr(miss)number of missing values for last variable specified inmdescLocal Macros (when options

any,all, ornoneare not specified)r(notmiss_vars)list of variables that have no missing values that were specified inmdescr(miss_vars)list of variables that have missing values that were specified inmdesc

AuthorsRose Anne Medeiros Department of Sociology Rice University rose.a.medeiros@rice.edu

Dan Blanchette The Carolina Population Center University of North Carolina - Chapel Hill, USA dan_blanchette@unc.edu

Also seeOnline:

missing(),misstable, ssc describe nmissing