The Summary Statistics
transformation provides an interface to the MEANS procedure. The MEANS
procedure provides data summarization tools to perform the following
tasks:

compute descriptive statistics
for variables across all observations and within groups of observations

calculate descriptive statistics
based on moments

estimate quantiles, which includes
the median

calculate confidence limits for
the mean


By default, the MEANS procedure displays output. You
can also use the OUTPUT statement to store the statistics in a SAS
data set. You can use the MEANS procedure to generate a statistical
summary. Data is sent to a target table and to the
Output tab of the Job Editor. You can also create ODS output.
You can control many
aspects of how the target table is created, including the following:



which columns are analyzed
The target table receives
data only for the columns that are involved in the analysis. The target
requires three columns that the Summary Statistics transformation
populates:
_TYPE_
contains the type of
statistic.
_STAT_
contains the name of
the statistic.
You can specify grouping
columns in the Summary Statistics transformation. Doing so causes
a SAS BY statement to order target rows according to the values in
the grouping columns. The Summary Statistics transformation requires
that grouping columns be sorted in ascending order in the source.
If you specify grouping columns, you can sort those columns before
the Summary Statistics transformation using a SAS Sort transformation.