STATISTICS Subcommand (SUMMARIZE command)
Use STATISTICS
to request a one-way analysis of variance and a test of linearity
for each table list.
- Statistics that are requested on
STATISTICS
are computed in addition to the statistics that are displayed in the Group Statistics table. - If
STATISTICS
is specified without keywords,SUMMARIZE
computesANOVA
. - If two or more dimensions are specified, the second and subsequent dimensions are ignored in the analysis-of-variance table.
ANOVA. Analysis of
variance. ANOVA
displays a standard analysis-of-variance table and calculates eta
and eta squared (displayed in the Measures of Association table).
This setting is the default if STATISTICS
is specified without keywords.
LINEARITY. Test of linearity. LINEARITY
(alias ALL
) displays additional statistics to the
tables that are created by the ANOVA
keyword—the sums of squares, degrees of freedom, and mean
square associated with linear and nonlinear components, the F ratio, and the significance level for
the ANOVA table and Pearson’s r and r 2 for the Measures of Association table. LINEARITY
is ignored if the control variable
is a string.
NONE. No additional
statistics. This setting is the default if STATISTICS
is omitted.
Example
SUMMARIZE TABLES=INCOME BY SEX BY RACE
/STATISTICS=ANOVA.
-
SUMMARIZE
produces a Group Statistics table of INCOME by RACE within SEX and computes an analysis of variance only for INCOME by SEX.