Skip to content

TIME PROGRAM

Defines a time-dependent covariate for COXREG as an expression in T_ (the survival time) and other variables.

TIME PROGRAM name = expression.
Kind Session
Body free-form body
Changes data no
TIME PROGRAM T_COV_ = T_ * age.
TIME PROGRAM late = (T_ > 12) * treatment.
  • SPSS writes the definition as a COMPUTE inside a TIME PROGRAM block; OrcStat puts it on the TIME PROGRAM command.
  • Definitions stay available to later COXREG commands in the session; repeat the command to redefine a name.

COXREG


Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.