[R] Kaplan-Meier for left truncated data?

gb gb at stat.umu.se
Thu May 25 21:25:14 CEST 2000


I have got two late answers to this question, from Mai Zhou and Bendix
Carstensen. Both point out a 'trick': Use  coxph  to fit a model with
no covariates and ask for the 'baseline hazard' of that fit!  
Unlike  survfit,  coxph  allows for left truncated data.

Thanks to both!

Göran

> On Sun, 21 May 2000, gb wrote:
> 
> > 
> > Is there a function somewhere for estimating the survivor function
> > (plus confidence limits) when data are both left truncated and right
> > censored?  survfit in  survival5  doesn't like left truncation.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list