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.

SURVIVAL<br />

Overview<br />

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

SURVIVAL TABLES=survival varlist<br />

[BY varlist (min, max)...][BY varlist (min, max)...]<br />

/INTERVALS=THRU n BY a [THRU m BY b ...]<br />

/STATUS=status variable({min, max}) FOR {ALL }<br />

{value } {survival varlist}<br />

[/STATUS=...]<br />

[/PLOT ({ALL })={ALL } BY {ALL } BY {ALL }]<br />

{LOGSURV }<br />

{SURVIVAL}<br />

{HAZARD }<br />

{DENSITY }<br />

{survival varlis} {varlist} {varlist}<br />

{OMS }<br />

[/PRINT={TABLE**}]<br />

{NOTABLE}<br />

[/COMPARE={ALL** } BY {ALL** } BY {ALL** }]<br />

{survival varlist} {varlist} {varlist}<br />

[/CALCULATE=[{EXACT** }] [PAIRWISE] [COMPARE] ]<br />

{CONDITIONAL}<br />

{APPROXIMATE}<br />

[/MISSING={GROUPWISE**} [INCLUDE] ]<br />

{LISTWISE<br />

[/WRITE=[{NONE**}] ]<br />

{TABLES}<br />

{BOTH }<br />

}<br />

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

Example<br />

SURVIVAL TABLES=MOSFREE BY TREATMNT(1,3)<br />

/STATUS = PRISON (1) FOR MOSFREE<br />

/INTERVAL=THRU 24 BY 3.<br />

SURVIVAL produces actuarial life tables, plots, and related statistics for examining the<br />

length of time to the occurrence of an event, often known as survival time. Cases can be<br />

classified into groups for separate analyses and comparisons. Time intervals can be<br />

calculated with the SPSS date- and time-conversion functions—for example, CTIME.DAYS<br />

or YRMODA. For a closely related alternative nonparametric analysis of survival times using<br />

the product-limit Kaplan-Meier estimator, see the KM command. For an analysis of survival<br />

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

1546

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

Saved successfully!

Ooh no, something went wrong!