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.

300 COXREG<br />

processing. If k rows are entered, the first row is discarded and only the<br />

last k –<br />

1 rows are used as the contrast matrix in the analysis.<br />

INDICATOR(refcat) Indicator variables. Contrasts indicate the presence or absence of<br />

category membership. By default, refcat is the last category (represented<br />

in the contrast matrix as a row of zeros). To omit a category other than the<br />

last, specify the sequence number of the category (which is not necessarily<br />

the same as its value) in parentheses after keyword INDICATOR.<br />

Example<br />

COXREG SURVIVAL WITH GROUP<br />

/STATUS SURVSTA (1)<br />

/STRATA=LOCATION<br />

/CATEGORICAL = GROUP<br />

/CONTRAST(GROUP)=SPECIAL(2 -1 -1<br />

0 1 -1).<br />

• The specification of GROUP on CATEGORICAL replaces the variable with a set of contrast<br />

variables.<br />

• GROUP identifies whether a case is in one of the three treatment groups.<br />

• A SPECIAL type contrast is requested. A three-column, two-row contrast matrix is entered<br />

in parentheses.<br />

METHOD Subcommand<br />

METHOD specifies the order of processing and the manner in which the covariates enter the<br />

model. If no METHOD subcommand is specified, the default method is ENTER.<br />

• The subcommand keyword METHOD can be omitted.<br />

• You can list all covariates to be used for the method on a variable list. If no variable list<br />

is specified, the default is ALL: all covariates named after WITH on the VARIABLES subcommand<br />

are used for the method.<br />

• The keyword BY can be used between two variable names to specify an interaction term.<br />

• Variables specified on CATEGORICAL are replaced by sets of contrast variables. The contrast<br />

variables associated with a categorical variable are entered or removed from the<br />

model together.<br />

Three keywords are available to specify how the model is to be built:<br />

ENTER Forced entry. All variables are entered in a single step. This is the default if the<br />

METHOD subcommand is omitted.<br />

FSTEP Forward stepwise. The covariates specified on FSTEP are tested for entry into the<br />

model one by one based on the significance level of the score statistic. The variable with<br />

the smallest significance less than PIN is entered into the model. After each entry,<br />

variables that are already in the model are tested for possible removal based on the<br />

significance of the Wald statistic, likelihood ratio, or conditional criterion. The variable<br />

with the largest probability greater than the specified POUT value is removed and the<br />

model is reestimated. Variables in the model are then again evaluated for removal.<br />

Once no more variables satisfy the removal criteria, covariates not in the model are<br />

evaluated for entry. Model building stops when no more variables meet entry or<br />

removal criteria, or when the current model is the same as a previous one.

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

Saved successfully!

Ooh no, something went wrong!