search for: cph2

Displaying 1 result from an estimated 1 matches for "cph2".

Did you mean: cph
2009 Feb 18
1
Age as time-scale in a cox model-How to calculate x-time risk?
...ata=stanford2, surv=T) #In this case the 1000-day survival probability would be: stanf.surv1=survest(stanf.cph1, times=1000) #Age in this case is a covariate. #I now want to compare the above estimate to the 1000-day survival probability I get using age at entry and exit as my time-scale: stanf.cph2=cph(Surv(age,age+time, status) ~ t5+id, data=stanford2, surv=T) stanf.surv2=survest(stanf.cph2, times=1000) summary(stanf.surv1$surv) Min. 1st Qu. Median Mean 3rd Qu. Max. NA's 0.1131 0.3370 0.4669 0.4538 0.5633 0.7480 27.0000 > summary(stanf.surv2$surv) Min. 1st Q...