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.

682 GLM: Repeated Measures<br />

POLYNOMIAL Polynomial contrasts. This is the default for within-subjects factors. The<br />

first degree of freedom contains the linear effect across the levels of the<br />

factor, the second contains the quadratic effect, and so on. In a balanced<br />

design, polynomial contrasts are orthogonal. By default, the levels are<br />

assumed to be equally spaced; you can specify unequal spacing by entering<br />

a metric consisting of one integer for each level of the factor in parentheses<br />

after the keyword POLYNOMIAL. (All metrics specified cannot be equal; thus<br />

(1, 1, ..., 1) is not valid.) For example,<br />

/WSFACTOR=D 3 POLYNOMIAL(1,2,4).<br />

Suppose that factor D has three levels. The specified contrast indicates that<br />

the three levels of D are actually in the proportion 1:2:4. The default metric<br />

is always (1,2,...,k), where k levels are involved. Only the relative differences<br />

between the terms of the metric matter (1,2,4) is the same metric as (2,3,5)<br />

or (20,30,50) because, in each instance, the difference between the second<br />

and third numbers is twice the difference between the first and second.<br />

DIFFERENCE Difference or reverse Helmert contrasts. Each level of the factor except the<br />

first is compared to the mean of the previous levels. In a balanced design,<br />

difference contrasts are orthogonal.<br />

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

the 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<br />

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

number in parentheses following keyword SIMPLE. For example,<br />

/WSFACTOR=B 3 SIMPLE (1).<br />

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 />

WSFACTOR(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 />

Example<br />

GLM X1Y1 X1Y2 X2Y1 X2Y2 X3Y1 X3Y2 BY TREATMNT GROUP<br />

/WSFACTOR=X 3 Y 2<br />

/DESIGN.<br />

• The GLM variable list names six dependent variables and two between-subjects factors,<br />

TREATMNT and GROUP.

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

Saved successfully!

Ooh no, something went wrong!