Re: [R] censoring

From: Roland Rau <roland.rproject_at_gmail.com>
Date: Tue, 08 May 2007 14:27:04 -0400

Well, I guess it makes quite a difference in survival analysis whether you know that a person was alive/censored or experienced the event of interest at a certain point of time/age. You could have tried it easily for yourself by slightly modifying the example on the help page of 'survdiff'.

library(survival)
survdiff(Surv(futime, fustat) ~ rx,data=ovarian) survdiff(Surv(futime, 1-fustat) ~ rx,data=ovarian)

If you want to work more in survival analysis, I can recommend the book John P. Klein / Melvin L. Moeschberger (2003): Survival Analysis. Techniques for Censored and Truncated Data. Springer. (but it gives no recipes in R).

Hope this helps,
Roland

raymond chiruka wrote:
> in R when carring out the log rank test is the censored variable denoted by 1 or 0 or its of no consequence.
>
> thanks
>
>
> ---------------------------------
>
> always stay connected to friends.
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_stat.math.ethz.ch 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.
>



R-help_at_stat.math.ethz.ch 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. Received on Tue 08 May 2007 - 18:32:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 May 2007 - 19:31:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.