Liz's Stata Guide

summarize

Produces a basic summary (number of observations, mean, standard deviation, min and max) of variables. It may be abbreviated sum.

Typical usage:
sum varx

Examples

. sum hhsize age

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
      hhsize |      1088    7.493566    4.666816          0         35
         age |      1093     41.3129     15.4325         18         90
"Obs" is the number of non-missing observations for this variable -- even though our data set has 1100 observations, hhsize is missing for 12 and age is missing for 7.

Options

Notes

contact: djiboliz@gmail.com
last modified: 26 April 2007