stats |

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.

Syntax

stats(options) ser1 [ser2 ser3 …]

Options

p | Print the stats table. |

Examples

stats height weight age

opens an untitled group window displaying the histogram and descriptive statistics for the common sample of the three series.

Cross-references

See
“Descriptive Statistics & Tests” and
(here) for a discussion of the descriptive statistics views of series and groups.