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.

LOGISTIC REGRESSION 807<br />

DEVIATION(refcat) Deviations from the overall effect. The effect for each category of the<br />

independent variable except one is compared to the overall effect.<br />

Refcat is the category for which parameter estimates are not displayed<br />

(they must be calculated from the others). By default, refcat is the last<br />

category. To omit a category other than the last, specify the sequence<br />

number of the omitted category (which is not necessarily the same as<br />

its value) in parentheses after the keyword DEVIATION.<br />

SIMPLE(refcat) Each category of the independent variable except the last is compared<br />

to the last category. To use a category other than the last as the omitted<br />

reference category, specify its sequence number (which is not necessarily<br />

the same as its value) in parentheses following the keyword<br />

SIMPLE.<br />

DIFFERENCE Difference or reverse Helmert contrasts. The effects for each category<br />

of the independent variable except the first are compared to the mean<br />

effects of the previous categories.<br />

HELMERT Helmert contrasts. The effects for each category of the independent<br />

variable except the last are compared to the mean effects of subsequent<br />

categories.<br />

POLYNOMIAL(metric) Polynomial contrasts. The first degree of freedom contains the linear<br />

effect across the categories of the independent variable, the second<br />

contains the quadratic effect, and so on. By default, the categories are<br />

assumed to be equally spaced; unequal spacing can be specified by<br />

entering a metric consisting of one integer for each category of the<br />

independent variable in parentheses after the keyword POLYNOMIAL.<br />

For example, CONTRAST(STIMULUS)=POLYNOMIAL(1,2,4)<br />

indicates that the three levels of STIMULUS are actually in the proportion<br />

1:2:4. The default metric is always (1,2, ..., k), where k categories<br />

are involved. Only the relative differences between the terms of the<br />

metric matter: (1,2,4) is the same metric as (2,3,5) or (20,30,50)<br />

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

the difference between the first and second in each instance.<br />

REPEATED Comparison of adjacent categories. Each category of the independent<br />

variable except the first is compared to the previous category.<br />

SPECIAL(matrix) A user-defined contrast. After this keyword, a matrix is entered in<br />

parentheses with k – 1 rows and k columns (where k is the number of<br />

categories of the independent variable). The rows of the contrast<br />

matrix contain the special contrasts indicating the desired comparisons<br />

between categories. If the special contrasts are linear combinations<br />

of each other, LOGISTIC REGRESSION reports the linear<br />

dependency and stops processing. If k rows are entered, the first row<br />

is discarded and only the last k –<br />

1 rows are used as the contrast<br />

matrix in the analysis.

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

Saved successfully!

Ooh no, something went wrong!