Hello - I'm using PHREG to estimate survival functions for 2 groups. I have clustered observations (2 hips per person) so cannot use LIFETEST. I've generated the plot but would like to add additional information, especially the confidence bands. Options like NOCENSOR and ATRISK would be helpful, too.
This is my code:
PROC PHREG DATA=WORK.DDH2340 PLOTS(OVERLAY=ROW)=S COVS(AGGREGATE);
MODEL NEWSURV_YR*CENSOR(1)=COHORT/ TIES=BRESLOW;
STRATA COHORT;
ID ID;
BASELINE OUT=A SURVIVAL=S LOWER=LCL UPPER=UCL;
run;
Ideas?
Thanks