Announcement

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

  • Individual hazard functions

    Hi,

    Is it possible to get individual hazard functions by group using streg? For instance, if I do
    Code:
    streg x1 x2, dist(weibull) frailty(gamma) shared(group)
    can I somehow get the individual hazard functions for each group?
    Last edited by Shai Haluda; 23 May 2024, 19:54. Reason: shared frailty, survival analysis, frailty

  • #2
    Follow -streg- with -stcurve- -stcurve- has "outfile" option, which will save the fitted functions (survival, hazard, etc.).

    Be careful about how the shared frailty enters into the fitted function - check Stata documentation.

    Comment

    Working...
    X