Announcement

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

  • stmixed for recurrent time-to-event data

    Hi all,
    I am doing an individual participant data (IPD) meta-analysis on recurrent time-to-event data, i.e. multiple failure-time survival data, as described here
    HTML Code:
    https://www.stata.com/support/faqs/statistics/multiple-failure-time-data/#cond1/
    .
    The failures are ordered, and a variable identifies the failure risk group for each time span.

    Here is my syntax using Stata v17.0 : 1) stset 2) stcox with the option "strata()" which identifies the order of an event and "robust"

    Code:
    stset tstop, fail(fail) exit(time .) id(p_id) enter(tstart)
    stcox treatment age i.study i.site, robust strata(event) nolog
    I would like to add random effects in my model, so I looked at the command stmixed from SSC, but it doesn't allow the "strata" variable. Would it be similar to add the strata variable as a random effect in the model?

    Also, I tried to run stmixed, but only got error messages.

    Click image for larger version

Name:	2022-11-15_21-41-47.png
Views:	1
Size:	58.7 KB
ID:	1689591
    Click image for larger version

Name:	2022-11-15_21-42-14.png
Views:	1
Size:	28.3 KB
ID:	1689592
    Click image for larger version

Name:	2022-11-15_21-41-59.png
Views:	1
Size:	71.4 KB
ID:	1689593

    Thank you for your help,
    Carole
Working...
X