STATUS Subcommand (SURVIVAL command)
To determine whether the terminal event has occurred
for a particular observation, SURVIVAL checks the value of a status variable. STATUS lists the status variable associated with each
survival variable and the codes that indicate that a terminal event
occurred.
- Specify a status variable followed by a value range enclosed in parentheses. The value range identifies the codes that indicate that the terminal event has taken place. All cases with non-negative times that do not have a code in the value range are classified as censored cases, which are cases for which the terminal event has not yet occurred.
- If the status variable does not apply to all the
survival variables, specify
FORand the name of the survival variable(s) to which the status variable applies. - Each survival variable on
TABLEmust have an associated status variable identified by aSTATUSsubcommand. - Only one status variable can be listed on each
STATUSsubcommand. To specify multiple status variables, use multipleSTATUSsubcommands. - If
FORis omitted on theSTATUSspecification, the status-variable specification applies to all of the survival variables not named on anotherSTATUSsubcommand. - If more than one
STATUSsubcommand omits the keywordFOR, the finalSTATUSsubcommand withoutFORapplies to all survival variables not specified byFORon otherSTATUSsubcommands. No warning is printed.
Example
SURVIVAL ONSSURV BY TREATMNT (1,3)
/INTERVAL = THRU 50 BY 5, THRU 100 BY 10
/STATUS = OUTCOME (3,4) FOR ONSSURV.
-
STATUSspecifies that a code of 3 or 4 on OUTCOME means that the terminal event for the survival variable ONSSURV occurred.
Example
SURVIVAL TABLE = NOARREST MOSFREE BY TREATMNT(1,3)
/STATUS = ARREST (1) FOR NOARREST
/STATUS = PRISON (1)
/INTERVAL=THRU 24 BY 3.
-
STATUSdefines the terminal event for NOARREST as a value of 1 for ARREST. Any other value for ARREST is considered censored. - The second
STATUSsubcommand defines the value of 1 for PRISON as the terminal event. The keywordFORis omitted. Thus, the status-variable specification applies to MOSFREE, which is the only survival variable not named on anotherSTATUSsubcommand.