SURVIVAL
SURVIVAL
is available in Custom Tables and Advanced Statistics.
SURVIVAL
produces actuarial life tables, plots, and related statistics for
examining the length of time to the occurrence of an event, often known as survival time.
SURVIVAL TABLE=survival varlist
[BY varlist (min, max)...][BY varlist (min, max)...]
/INTERVAL=THRU n BY a [THRU m BY b ...]
/STATUS=status variable({min, max}) FOR {ALL }
{value } {survival varlist}
[/STATUS=...]
[/PLOTS ({ALL })={ALL } BY {ALL } BY {ALL }]
{LOGSURV } {survival varlis} {varlist} {varlist}
{SURVIVAL}
{HAZARD }
{DENSITY }
{OMS }
[/PRINT={TABLE**}]
{NOTABLE}
[/COMPARE={ALL** } BY {ALL** } BY {ALL** }]
{survival varlist} {varlist} {varlist}
[/CALCULATE=[{EXACT** }] [PAIRWISE] [COMPARE] ]
{CONDITIONAL}
{APPROXIMATE}
[/MISSING={GROUPWISE**} [INCLUDE] ]
{LISTWISE }
[/WRITE=[{NONE**}] ]
{TABLES}
{BOTH }
**Default if the subcommand or keyword is omitted.
This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.
Syntax for the SURVIVAL command can be generated from the Life Tables dialog.
Example
SURVIVAL TABLE=MOSFREE BY TREATMNT(1,3)
/STATUS = PRISON (1) FOR MOSFREE
/INTERVAL=THRU 24 BY 3.