************************************************************************* * * * larynx-do.txt * * * * PURPOSE: analysis of survival data * * * * DATE: 01/05/10 * * * ************************************************************************* infile stage time age year status using larynx-dat.txt label variable stage "stage at diagnosis" label variable time "time (years)" label variable age "age" label variable year "year of entry" label variable status "status" gen stage34 = stage recode stage34 1/2=0 3/4=1 stset time, failure(status)