Dmitry Gospodaryov
2009-Sep-29 07:34 UTC
[R] some simple questions regarding survival analysis
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.
2) See packages Epi and epitools -Johannes 2009/9/29 Dmitry Gospodaryov <gospodaryov at rambler.ru>:> 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. > > ______________________________________________ > 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. >