I am looking for a repeated measures version of the Logrank test. If I am correct, I am looking for an equivalent of the Friedman test for survival data.
Any suggestions on where to look? (and R code will always be welcomed :) )
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It only takes a minute to sign up.Sign up to join this community
You can probably use a so-called marginal survival model. It would be more like Cox-regression than a log-rank test, i.e. proportional hazards for the effect of task would be assumed. It is implemented in the
mod <- coxph(Surv(time, censor) ~ task + cluster(id))
task would be a factor representing the task, and
id would identify the subject. There is a book that goes into lots of detail on multivariate survival data: T.Therneau, P. Grambsch. Modeling Survival Data: Extending the Cox Model. Springer, 2000.