Because some paticipantsparticipants missed follow-up (they dropped out or deceased) my data is right-censored. Cox regression demonstrated my cut-off as significant predictor, however, this analysis was performed on the non-censored sample resulting in selection bias.
If no, does anbyodyanybody have any advice to account for the selection bias in my sample?
ID disease months censored cutoff
a 0 66 0 0
c 1 30 0 1
e 0 45 0 0
ID disease months censored cutoff
a 0 66 0 0
c 1 30 0 1
e 0 45 0 0
coxph(Surv(months, disease)
~cutoff,
covariates,
data = dat)
coxph(Surv(months, disease)
~ cutoff,
covariates,
data = dat)
ID disease months censored cutoff
a 0 0 0 0
a 0 66 0 0
*b* 0 0 1 0
c 0 0 0 1
c 1 30 0 1
*d* 0 0 0 1
e 0 0 0 0
e 0 45 0 0
ID disease months censored cutoff
a 0 0 0 0
a 0 66 0 0
*b* 0 0 1 0
c 0 0 0 1
c 1 30 0 1
*d* 0 0 0 1
e 0 0 0 0
e 0 45 0 0
coxph(Surv(months, disease)
~score,
covariates,
data = dat)
coxph(Surv(months, disease)
~ score,
covariates,
data = dat)
... But as my goal is to predict whether particpantsparticipants developed the disease at follow-up and not at baseline, I am unsure whether this analysis answers another statistical question than mine.