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.

KM<br />

Overview<br />

KM is available in the Advanced Models option.<br />

KM varname [BY factor varname]<br />

/STATUS = varname [EVENT](vallist) [LOST(vallist)]<br />

[/STRATA = varname]<br />

[/PLOT = {[SURVIVAL][LOGSURV][HAZARD][OMS] }]<br />

[/ID = varname]<br />

[/PRINT = [TABLE**][MEAN**][NONE]]<br />

[/PERCENTILE = [(]{25, 50, 75 }[)]]<br />

{value list }<br />

[/TEST = [LOGRANK**][BRESLOW][TARONE]]<br />

[/COMPARE = [{OVERALL**}][{POOLED**}]]<br />

{PAIRWISE } {STRATA }<br />

[/TREND = [(METRIC)]]<br />

[/SAVE = tempvar[(newvar)],...]<br />

**Default if subcommand or keyword is omitted.<br />

Temporary variables created by Kaplan-Meier are:<br />

SURVIVAL<br />

HAZARD<br />

SE<br />

CUMEVENT<br />

Example<br />

KM LENGTH BY SEXRACE<br />

/STATUS=EMPLOY EVENT (1) LOST (2)<br />

/STRATA=LOCATION.<br />

KM (alias K-M) uses the Kaplan-Meier (product-limit) technique to describe and analyze the<br />

length of time to the occurrence of an event, often known as survival time. KM is similar to<br />

SURVIVAL in that it produces nonparametric estimates of the survival functions. However,<br />

instead of dividing the period of time under examination into arbitrary intervals, KM<br />

evaluates the survival function at the observed event times. For analysis of survival times<br />

with covariates, including time-dependent covariates, see the COXREG command.<br />

787

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

Saved successfully!

Ooh no, something went wrong!