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.

1614 UNIANOVA<br />

HELMERT Helmert contrasts. Each level of the factor except the last is compared to the<br />

mean of subsequent levels. In a balanced design, Helmert contrasts are<br />

orthogonal.<br />

SIMPLE Each level of the factor except the last is compared to the last level. To use a<br />

category other than the last as the omitted reference category, specify its<br />

number (which is not necessarily the same as its value) in parentheses<br />

following the keyword SIMPLE. For example,<br />

UNIANOVA Y BY B<br />

/CONTRAST(B)=SIMPLE(1).<br />

Suppose that factor B has three levels with values 2, 4, and 6. The specified<br />

contrast compares the other levels to the first level of B, in which B has the<br />

value 2. Simple contrasts are not orthogonal.<br />

REPEATED Comparison of adjacent levels. Each level of the factor except the first is<br />

compared to the previous level. Repeated contrasts are not orthogonal.<br />

SPECIAL A user-defined contrast. Values specified after this keyword are stored in a<br />

matrix in column major order. For example, if factor A has three levels, then<br />

CONTRAST(A)= SPECIAL(1 1 1 1 -1 0 0 1 -1) produces the following contrast<br />

matrix:<br />

1 1 0<br />

1 –1 1<br />

1 0 –1<br />

Orthogonal contrasts are particularly useful. In a balanced design, contrasts are orthogonal<br />

if the sum of the coefficients in each contrast row is 0 and if, for any pair of contrast<br />

rows, the products of corresponding coefficients sum to 0. DIFFERENCE, HELMERT, and<br />

POLYNOMIAL contrasts always meet these criteria in balanced designs.<br />

Example<br />

UNIANOVA DEP BY FAC<br />

/CONTRAST(FAC)=DIFFERENCE<br />

/DESIGN.<br />

• Suppose that the factor FAC has five categories and therefore four degrees of freedom.<br />

• CONTRAST requests DIFFERENCE contrasts, which compare each level (except the first)<br />

with the mean of the previous levels.

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

Saved successfully!

Ooh no, something went wrong!