Displaying 1 result from an estimated 1 matches for "4rth".
Did you mean:
4rt
2009 Feb 02
1
survfit using quantiles to group age
...is:
survplot(survfit(Surv(time,status) ~ cut(age,3), data=veteran)
but I would like to do something like this:
survplot(survfit(Surv(time,status) ~ quantile(age,3), data=veteran)
#will not work
ideally I would like to superimpose estimates from cph models, which
automatically fit the 2nd to 4rth quantiles for age, so I need the age
groups to be grouped the same.
Any help greatly appreciated!
Eleni Rapsomaniki