STATUS Subcommand (COXREG command)
To determine whether the event has occurred for
a particular observation, COXREG checks the value of a status variable. STATUS lists the status variable and the code for the
occurrence of the event.
- Only one status variable can be specified. If multiple
STATUSsubcommands are specified,COXREGuses the last specification and displays a warning. - The keyword
EVENTis optional, but the value list in parentheses must be specified. - The value list must be enclosed in parentheses. All
cases with non-negative times that do not have a code within the range
specified after
EVENTare classified as censored cases—that is, cases for which the event has not yet occurred. - The value list can be one value, a list of values
separated by blanks or commas, a range of values using the keyword
THRU, or a combination. - If missing values occur within the specified ranges,
they are ignored if
MISSING=EXCLUDE(the default) is specified, but they are treated as valid values for the range ifMISSING=INCLUDEis specified. - The status variable can be either numeric or string.
If a string variable is specified, the
EVENTvalues must be enclosed in apostrophes and the keywordTHRUcannot be used.
Example
COXREG VARIABLES = SURVIVAL WITH GROUP
/STATUS SURVSTA (3 THRU 5, 8 THRU 10).
-
STATUSspecifies that SURVSTA is the status variable. - A value between either 3 and 5 or 8 and 10, inclusive, means that the terminal event occurred.
- Values outside the specified ranges indicate censored cases.