[R] Coxph with factors

Thomas Lumley tlumley at u.washington.edu
Sat Jul 16 17:19:36 CEST 2005


On Sat, 16 Jul 2005, Thomas Lumley wrote:
>
> Yes, but you don't need to go via the baseline.  The survival curves for
> any two covariate vectors z1 and z2 are related by
>
> S(t; z1)= S(t; z2)^(z1-z2)
>
Actually
   S(t; z1)=S(t;z2) ^(beta'(z1-z2))

of course.

 	-thomas




More information about the R-help mailing list