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.

ONEWAY 1163<br />

error, the t statistic, and the degrees of freedom and two-tailed probability of t for each variable.<br />

Both pooled- and separate-variance estimates are displayed.<br />

• A contrast coefficient must be specified or implied for every group defined for the independent<br />

variable. If the number of contrast values is not equal to the number of groups,<br />

the contrast test is not performed.<br />

• The contrast coefficients for a set should sum to 0. If they do not, a warning is issued.<br />

ONEWAY will still give an estimate of this contrast.<br />

• Coefficients are assigned to groups defined by ascending values of the independent variable.<br />

• The notation n*c can be used to indicate that coefficient c is repeated n times.<br />

Example<br />

ONEWAY V1 BY V2<br />

/CONTRAST = -1 -1 1 1<br />

/CONTRAST = -1 0 0 1<br />

/CONTRAST = -1 0 .5 .5.<br />

• V2 has four levels.<br />

• The first CONTRAST subcommand contrasts the combination of the first two groups with<br />

the combination of the last two groups.<br />

• The second CONTRAST subcommand contrasts the first group with the last group.<br />

• The third CONTRAST subcommand contrasts the first group with the combination of the<br />

third and fourth groups.<br />

Example<br />

ONEWAY V1 BY V2<br />

/CONTRAST = -1 1 2*0<br />

/CONTRAST = -1 1 0 0<br />

/CONTRAST = -1 1.<br />

• The first two CONTRAST subcommands specify the same contrast coefficients for a fourgroup<br />

analysis. The first group is contrasted with the second group in both cases.<br />

• The first CONTRAST uses the n*c notation.<br />

• The last CONTRAST does not work because only two coefficients are specified for four<br />

groups.<br />

POSTHOC Subcommand<br />

POSTHOC produces post hoc tests for comparisons of all possible pairs of group means or multiple<br />

comparisons. In contrast to a priori analyses specified on the CONTRAST subcommand,<br />

post hoc analyses are usually not planned at the beginning of the study but are suggested by<br />

the data in the course of the study.<br />

• Twenty post hoc tests are available. Some detect homogeneity subsets among the groups<br />

of means, some produce pairwise comparisons, and others perform both. POSTHOC<br />

produces a Multiple Comparison table showing up to 10 test categories. Nonempty group<br />

means are sorted in ascending order, with asterisks indicating significantly different

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

Saved successfully!

Ooh no, something went wrong!