Announcement

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

  • Table Builder and Cox model

    Hi Statalist

    I am trying to make a table via the table builder (table of frequencies, summaries, and command results). I want to include some elements from my cox proportional hazards model (Hazard ratios, SE and 95%-CI). To do this I have made a command for the model and this works as it should.
    My problem arises as I also want to include other elements in the table such as number of events but when I put in extra variables in the column tab it gets included in the model which it of course should not.


    Command: stcox i.sex i.region, vce(robust)

    Input in table builder's column variables: result events

    "result" is Stata's output of the cox model.

    How can I solve this?

  • #2
    I can add the part of events by using the statistics part but it is still included in the cox model.
    Last edited by Morten Hans Jensen; 23 Jun 2022, 07:46.

    Comment

    Working...
    X