Example (TIME PROGRAM command)
TIME PROGRAM.
COMPUTE Z=AGE + T_.
COXREG VARIABLES = SURVIVAL WITH Z
/STATUS SURVSTA EVENT (1).
-
TIME PROGRAM
defines the time-dependent covariate Z as the current age. Z is then specified as a covariate inCOXREG
.