prev next front |1 |2 |3 |4 |5 |6 |7 |8 |9 |10 |11 |12 |13 |14 |15 |16 |17 |18 |19 |20 |21 |22 |23 |24 |25 |26 |27 |28 |29 |30 |review
We use the statistical package Stata for the illustration. Readers can use other software packages. Five Stata commands are used:

infile group futime number size rectime using c:\data\tumor.dat  (this command reads the data)

gen fail=1 if rectime!=. (create censoring indicator value=1 if recurrence observed)

replace fail=0 if rectime==.(replace censoring indicator value=0 if no recurrence)

replace rectime=futime if rectime==.(replace missing censor time by follow-up time)

stset rectime, failure(fail)(declare the data as survival data).

One subject with zero follow-up time was automatically excluded by Stata's stset command. User of other software may need to remove this subject explicitly. A censored case with zero follow-up time is not informative. A failure at time zero is not logical: one fails at least a very short while after getting started.

prev next front |1 |2 |3 |4 |5 |6 |7 |8 |9 |10 |11 |12 |13 |14 |15 |16 |17 |18 |19 |20 |21 |22 |23 |24 |25 |26 |27 |28 |29 |30 |review