27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1422 REPORT<br />

• To use the summary specifications from a previous BREAK subcommand for the current<br />

BREAK subcommand, specify keyword PREVIOUS on SUMMARY. (See “Other Summary<br />

Keywords” on p. 1428.)<br />

• Summary statistics are displayed in report columns. With aggregate functions, you can<br />

compute summary statistics for all report variables or for a subset (see “Aggregate Functions”<br />

below). With composite functions, you can compute summaries for all or a subset<br />

of report variables and you have additional control over the placement of summary statistics<br />

in particular report columns (see “Composite Functions” on p. 1424).<br />

• Multiple summary statistics requested on one SUMMARY subcommand are all displayed<br />

on the same line. More than one function can be specified on SUMMARY as long as you<br />

do not attempt to place two results in the same report column (REPORT will not be<br />

executed if you do). To place results of more than one function in the same report column,<br />

use multiple SUMMARY subcommands.<br />

• Any composite and aggregate functions except FREQUENCY and PERCENT can be specified<br />

on the same summary line.<br />

• To insert blank lines between summaries when more than one summary line is requested<br />

for a break, use keyword SKIP followed by the number of lines to skip in parentheses. The<br />

default is 0. (See “Other Summary Keywords” on p. 1428.)<br />

Aggregate Functions<br />

Use the aggregate functions to request descriptive statistics for report variables.<br />

• If no variable names are specified as arguments to an aggregate function, the statistic is<br />

calculated for all variables named on VARIABLES (all report variables).<br />

• To request an aggregate function for a subset of report variables, specify the variables in<br />

parentheses after the function keyword.<br />

• All variables specified for an aggregate function must have been named on VARIABLES.<br />

• Keyword TO cannot be used to specify a list of variables for an aggregate function.<br />

• The result of an aggregate function is always displayed in the report column reserved for<br />

the variable for which the function was calculated.<br />

• To use several aggregate functions for the same report variable, specify multiple SUMMARY<br />

subcommands. The results are displayed on different summary lines.<br />

• The aggregate functions FREQUENCY and PERCENT have special display formats and<br />

cannot be placed on the same summary line with other aggregate or composite functions.<br />

They can be specified only once per SUMMARY subcommand.<br />

• Aggregate functions use only cases with valid values.<br />

VALIDN Valid number of cases. This is the only function available for string<br />

variables.<br />

SUM Sum of values.<br />

MIN Minimum value.<br />

MAX Maximum value.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!