Displaying 1 result from an estimated 1 matches for "aml2".
Did you mean:
aml
2011 Apr 18
1
time dependent hazard ratios
Hi, I am new to time-dependent Cox model to estimate time dependent hazard
ratios. Let me use aml dataset from survival package:
> aml3<-survSplit(aml2,cut=c(5,10,20),end="time",start="start",
event="status",episode="i")
If I want to esimate hazard ratio for each of the time intervals 0-5, 5-10,
10-20 and >=20, would the following calculate such HRs?
> coxph(Surv(start,time,status)~x*as.factor(...