[R] survival::survfit,plot.survfit

Jeff Xu jeffxu at live.com
Thu Feb 26 17:20:10 CET 2009


Thanks very much, Bernhard and Terry.
It clarify my confusion and really helps a lot.

Regards
Jeff Xu

Terry Therneau wrote:
> 
>> plot(survfit(fit)) should plot the survival-function for x=0 or 
>> equivalently beta'=0. This curve is independent of any covariates.
> 
>   This is not correct.  It plots the curve for a hypothetical subject with
> x= 
> mean of each covariate.  
>   This is NOT the "average survival" of the data set.  Imagine a cohort
> made up 
> of 60 year old men and their 10 year old grandsons: the expected survival
> of 
> this cohort does not look that for a 35 year old male.
>   
>   	Terry T
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 

-- 
View this message in context: http://www.nabble.com/survival%3A%3Asurvfit%2Cplot.survfit-tp22206954p22227647.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list