What I want to do is comparing two non-nested Cox regression models using R. Just for example:
library(survival)
data(cancer)
fit1 <- coxph(Surv(time,status)~ age, data=cancer)
fit2 <- coxph(Surv(time,status)~ sex, data=cancer)
I have read almost all relative questions about non-nested model comparison in this website. However, when it comes into survival data, things become quite different. Here are ways to compare non-nested models(some of them don't work in Cox regression model):
- AIC/BIC: the less the better, but there isn't any test to do comparison.
- LR based test: coxtest {lmtest}, jtest {lmtest}, vuong test {games}, Clarke test {games}. These tests were developed to deal with non-nested models, but they are not applicable to Cox regression models (I guess because Cox model use partial likelihood?) And I found a paper Comparing nonnested Cox models which is close to my question, but I have problem to imply this method in R code. Is there any package can be used to do LR based test for non-nested Cox model?
- Encompassing test: fit3 <- coxph(Surv(time,status)~ age+sex, data=cancer). Fit3 can be used to do anova(fit1,fit3,fit2). But in reality, the variables are not age and sex, but two extremely relevant variables which are continuous age and discrete age. So fit3 is irrational.
- C-index: it can be used to compare the predictions of Cox models. But it is less sensitive than LR based test. So far I haven't found a test to compare two c-indexes.
I consider to use bootstrap methods to compare AIC/BIC and c-index. Any help in this question is greatly appreciated !