STATISTICS Subcommand (MEANS command)
Use STATISTICS
to request a one-way analysis of variance and a test of linearity
for each TABLE
list.
- Statistics requested on
STATISTICS
are computed in addition to the statistics displayed in the Group Statistics table. - If
STATISTICS
is specified without keywords,MEANS
computesANOVA
. - If two or more dimensions are specified, the second
and subsequent dimensions are ignored in the analysis-of-variance
table. To obtain a two-way and higher analysis of variance, use the
ANOVA
orMANOVA
procedure. TheONEWAY
procedure calculates a one-way analysis of variance with multiple comparison tests.
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 is the default if STATISTICS
is specified without keywords.
LINEARITY . Test of linearity. LINEARITY
(alias ALL
) displays additional statistics to the
tables 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 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 is the default if STATISTICS
is omitted.
Example
MEANS TABLES=INCOME BY SEX BY RACE
/STATISTICS=ANOVA.
-
MEANS
produces a Group Statistics table of INCOME by RACE within SEX and computes an analysis of variance only for INCOME by SEX.