Examples (SURVIVAL command)

SURVIVAL TABLE=MOSFREE BY TREATMNT(1,3)
  /STATUS = PRISON (1) FOR MOSFREE
  /INTERVAL = THRU 24 BY 3.
  • The survival analysis is used to examine the length of time between release from prison and return to prison for prisoners in three treatment programs. The variable MOSFREE is the length of time in months a prisoner stayed out of prison. The variable TREATMNT indicates the treatment group for each case.
  • A value of 1 on the variable PRISON indicates a terminal outcome—that is, cases coded as 1 have returned to prison. Cases with other non-negative values for PRISON have not returned. Because we don’t know their final outcome, such cases are called censored.
  • Life tables are produced for each of the three subgroups. INTERVAL specifies that the survival experience be described every three months for the first two years.