[R] some simple questions regarding survival analysis

Dmitry Gospodaryov gospodaryov at rambler.ru
Tue Sep 29 09:34:44 CEST 2009


I have two types of survival data for Drosophila
cohort. For example:

 uncensored

> age <- c (0, 2, 4, 6, 8, 10)
> alive1 <- c(10, 9, 6, 3, 1, 0)
> alive 2 <- c(10, 9, 4, 1, 1, 0)

and censored

> age <- c(0, 2, 4, 6, 8, 10)
> alive1 <- c(10, 8, 3, 1, 1, 0)
> escaped1 <- c(0, 1, 1, 0, 0, 0)
> alive2 <- c(10, 7, 2, 1, 1, 0)
> escaped2 <- c(0, 1, 2, 0, 0, 0)

1) What statistical tests is the most apropriate for the correct
comparison of uncensored data (alive1 and 2) and censored
ones?
2) What package and function I can use in R for the above
mentioned comparison?
3) Should I rearrange the data in the example tables for the
correct calculations using R functions?
With regard, Dmitry.




More information about the R-help mailing list