I have a dataset of about 1000 patients with cancer and I was interested at looking at competing events. I plotted out the cumulative incidence curves for deaths from cancer and deaths from other causes
The curves subjectively look very different, but I was wondering is there a statistical test that I could use to compare these curves? I've looked into Fine and Gray models as well as cause-specific hazard models, but seemingly those focus on evaluating the impact of specific covariates on the outcomes.
I've been using the tidycmprsk
package as well as the ggsurvfit
package in R. My code for the above curves is below
cuminc(Surv(TTOS, status_cr) ~ 1, data = data) %>%
ggcuminc(outcome = c("Death from other cause",
"Death from cancer")) +
ylim(c(0, 1)) +
labs(x = "Months") +
add_risktable()