Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Risk tables and censoring marks in -stcurve- for competing-risks regression analyses

    Dear STATALISTers,

    I am currently facing a problem in competing-risks regression using -stcrreg- and -stcurve-, the latter to produce cumulative incidence curves comparing the cumulative incidence of an event of interest between two cohorts (after accounting for a competing event).

    The curves look fine, but I would like to add two things: (1) risk tables beneath the graph, analogous to the -sts graph, atrisk- command for Kaplan-Meier analyses and (2) add censoring marks in the curve, just as is it possible for -sts graph, cen(s)- in Kaplan-Meier graphs.

    I have looked for any options but couldn't find a solution.

    My codes are as follows:


    stset months_to_last_fu, f(event==1)

    stcrreg i.pentafecta_dicho, compete(event==2)

    stcurve, cif at1(pentafecta_dicho=0) at2(pentafecta_dicho=1)


    I attached an example of the Kaplan-Meier curves, which show the censoring marks and risk tables and the cumulative incidence curves, which unfortunately don't show the censoring marks and risk tables.

    Your help is greatly appreciated,

    kind regards,
    Malte

    Click image for larger version

Name:	Attachment.png
Views:	1
Size:	474.9 KB
ID:	1656780

    Last edited by Malte Vetterlein; 29 Mar 2022, 06:24.

  • #2
    Hi Malte, I am also trying to plot the at-risk population table in the competing risk regression. Were you able to do it?

    Comment


    • #3
      Hi Malte,

      I have also faced this problem. Do you have any suggestions?

      Comment

      Working...
      X