While computing time-to-event C indexes, I stumbled upon a surprising behavior of rcorr.cens: a pair i,j is concordant with event time pair T_i < T_j if x[i] < x[j]. This is at odds with an alternative quite common formulation where a smaller predictor is concordant with a longer time-to-event.
While computing time-to-event C indexes, I stumbled upon a surprising behavior of rcorr.cens: a pair i,j is concordant with event time pair T_i < T_j if x[i] < x[j]. This is at odds with an alternative quite common formulation where a smaller predictor is concordant with a longer time-to-event.
Minimal working example:
I was expecting C index of 1, because I assumed the "numerical predictor" could be e.g. a relative risk in the Cox model. Maybe clarify documentation?
(edit: clarified lang.)