johann.delcourt at ulg.ac.be
2012-Feb-08 16:19 UTC
[R] search tutorial for function "tt" in cox.zph
Hye, I am writing to request your help. I am working on survival curve analysis with Cox model (cox.zph). After to test the proportionality condition for each covariant (independence to the time), the time effect is very significant and I must adapt my model, by the addition of a function dependent on the time for each time-dependent covoriant. My problem is I don?t know how determine this function. It seems there is a function ?tt? in R which can help to find this function and integrate it in my Cox model. I am searching a good tutorial (or book reference) with example(s) to understand and apply the function ?tt? in R; Thanks in advance Johann Delcourt
> It seems there is a function ?tt? in R which can help to find this > function and integrate it in my Cox model. > I am searching a good tutorial (or book reference) with example(s) to > understand and apply the function ?tt? in R;There is a vignette describing the tt function. Due to an oversight of mine the vignette was not included in CRAN until the most recent update of the survival package (a few days ago). For diagnosis of time-dependence and even more for deciding how to deal with it, I find the plots from the cox.zph function to be the most helpful. These are discussed in my book with P Grambsch. Terry Therneau