******************* * duration model 2 * ******************* log using duration2.log, replace use duration2, clear * declare t as survival time data stset time ltable time, interval(3) ltable time, interval(3) test by(jobtype) * graph the Nelson-Aalen cumulative hazard function sts graph, na * graph the Kaplan-Meier survivor function sts graph