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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

COXREG 305<br />

TABLE Write the survival table to an SPSS data file. The file contains cumulative<br />

survival, standard error, and cumulative hazard statistics for each uncensored<br />

time within each stratum evaluated at the baseline and at the mean of the covariates.<br />

Additional covariate patterns can be requested on PATTERN.<br />

• The specified SPSS data file must be an external file. You cannot specify an asterisk (*)<br />

to identify the working data file.<br />

• The variables saved in the external file are listed in the output.<br />

SAVE Subcommand<br />

SAVE saves the temporary variables created by COXREG. The temporary variables include:<br />

SURVIVAL Survival function evaluated at the current case.<br />

SE Standard error of the survival function.<br />

HAZARD Cumulative hazard function evaluated at the current case. Alias RESID.<br />

LML Log-minus-log-of-survival function.<br />

DFBETA Change in the coefficient if the current case is removed. There is one<br />

DFBETA for each covariate in the final model. If there are time-dependent<br />

covariates, only DFBETA can be requested. Requests for any other temporary<br />

variable are ignored.<br />

PRESID Partial residuals. There is one residual variable for each covariate in the<br />

final model. If a covariate is not in the final model, the corresponding new<br />

variable has the system-missing value.<br />

XBETA Linear combination of mean corrected covariates times regression coefficients<br />

from the final model.<br />

• To specify variable names for the new variables, assign the new names in parentheses<br />

following each temporary variable name.<br />

• Assigned variable names must be unique in the working data file. Scratch or system<br />

variable names cannot be used (that is, the variable names cannot begin with # or $).<br />

• If new variable names are not specified, COXREG generates default names. The default<br />

name is composed of the first three characters of the name of the temporary variable (two<br />

for SE), followed by an underscore and a number to make it unique.<br />

• A temporary variable can be saved only once on the same SAVE subcommand.<br />

Example<br />

COXREG SURVIVAL WITH GROUP<br />

/STATUS = SURVSTA (1)<br />

/STRATA = LOCATION<br />

/CATEGORICAL = GROUP<br />

/METHOD = ENTER<br />

/SAVE SURVIVAL HAZARD.<br />

• COXREG saves cumulative survival and hazard in two new variables, SUR_1 and HAZ_1,<br />

provided that neither of the two names exists in the working data file. If one does, the<br />

numeric suffixes will be incremented to make a distinction.

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

Saved successfully!

Ooh no, something went wrong!