Hello,

I have a two-arm trial where an event can either occur or does not occur because of a competing event (death). I am using competing risks regression & plotting the cumulative incidence function using the following code:

Code:
stset days, id(id) failure(event==1)
stcrreg i.group, compete(event==0)
stcurve, cif at1(group=0) at2(group=1)
Is it possible to test for differences between the two CIF curves? Similar to the log-rank test for Kaplan Meier. I have read about Grey's test but I am not sure how to implement it in Stata.

Alternatively, is it appropriate to report the p-value for the treatment group SHR generated from the competing risks regression as the significance of differences between the curves?

Thank you for your help.
Megan