SUMMARY subcommand (REPORT command)
SUMMARY
calculates
a wide range of aggregate and composite statistics.
-
SUMMARY
must be specified ifLIST
is not specified onFORMAT
. - The minimum specification is an aggregate or a composite
function and its arguments. This must be the first specification on
SUMMARY
. - Each
SUMMARY
subcommand following aBREAK
subcommand specifies a new summary line. - The default location of the summary title is the
column of the break variable to which the summary applies. When more
than one function is named on
SUMMARY
, the default summary title is that of the function named first. Both the title and its default column location can be altered. See the topic Summary titles (REPORT command) for more information. - The default format can be altered for any function. (See the topic Summary print formats (REPORT command) for more information. )
-
SUMMARY
subcommands apply only to the precedingBREAK
subcommand. If there is noSUMMARY
subcommand after aBREAK
subcommand, no statistics are displayed for that break level. - To use the summary specifications from a previous
BREAK
subcommand for the currentBREAK
subcommand, specify keywordPREVIOUS
onSUMMARY
. See the topic Other summary keywords (REPORT command) for more information. - Summary statistics are displayed in report columns. With aggregate functions, you can compute summary statistics for all report variables or for a subset. See the topic Aggregate functions (REPORT command) for more information. With composite functions, you can compute summaries for all or a subset of report variables and you have additional control over the placement of summary statistics in particular report columns. See the topic Composite functions (REPORT command) for more information.
- Multiple summary statistics requested on one
SUMMARY
subcommand are all displayed on the same line. More than one function can be specified onSUMMARY
as long as you do not attempt to place two results in the same report column (REPORT
will not be executed if you do). To place results of more than one function in the same report column, use multipleSUMMARY
subcommands. - Any composite and aggregate functions except
FREQUENCY
andPERCENT
can be specified on the same summary line. - To insert blank lines between summaries when more
than one summary line is requested for a break, use keyword
SKIP
followed by the number of lines to skip in parentheses. The default is 0. See the topic Other summary keywords (REPORT command) for more information.