Announcement

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

  • test

    Hi Samuel,

    The data are structured like this:

    Code:
    use http://www.stata-press.com/data/r8/stanford, clear
    gen surgeon=round(runiform()*10)
    stset stime, failure(died) id(id)
    stsplit posttran, after(wait) at(0)
    replace posttran = posttran + 1
    ....after which I would like to build a Cox PH hazards model, but cluster for surgeon.

    So I am assuming that cluster by surgeon will override the clustering by id, which is necessary for correct implementation of the Cox PH model with multiple episodes per patient.



Working...
X