Command Reference : Command Reference
Descriptive statistics.
Computes and displays a table of means, medians, maximum and minimum values, standard deviations, and other descriptive statistics of one or more series or a group of series.
stats creates an untitled group containing all of the specified series, and opens a statistics view of the group. By default, if more than one series is given, the statistics are calculated for the common sample.
stats(options) ser1 [ser2 ser3 …]
Print the stats table.
stats height weight age
opens an untitled group window displaying the histogram and descriptive statistics for the common sample of the three series.
See “Descriptive Statistics & Tests” and (here) for a discussion of the descriptive statistics views of series and groups.
See also boxplot and hist.