Take the 2-minute tour ×
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It's 100% free, no registration required.

Lets say I have the following data frame

cml$group<-sample(1:5, 507, replace=T)
    plot(survfit(Surv(time=cml$time, cml$status)~factor(cml$group)))
(survdiff(Surv(time=cml$time, cml$status)~factor(cml$group)))

I want to perform multiple comparison test comparing (logrank) for example group0 vs. all other groups or even every group with each other? Is it necessary to correct for multiple comparisons? If yes, is there a nice way of plotting these multiple comparisons (as for example in plot.TukeyHSD() in aov())?

I have posted the same question in http://stackoverflow.com/questions/11176762/kaplan-meier-multiple-group-comparisons but the answer presents multiple comparison test with parametric survival not with non parametric (as in my case)

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.