Announcement

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

  • How to report hazard ratio as 1 unit change in SD

    Hi all,

    I am running survival analyses and I would like to report my hazard ratio's as 1 SD change in the independent variable. How can I do that?

    As always - thank you so much for your help!


  • #2
    There are a few different ways you can do that.

    One is you can standardize the predictor variable, let's call it x, and re-do the survival analysis using the standardized version:

    Code:
    summ x
    gen x_standardized = (x-`r(mean)')/`r(sd)'
    survival analysis command using x_standardized instead of x
    



    Alternatively, you can take the hazard ratio you already have and raise it to the power of the standard deviation of x. So like this:

    Code:
    survival analysis command using x
    summ x
    local x_sd `r(sd)'
    display exp(`x_sd'*_b[x])
    In the future, you are more likely to get a timely and helpful response to questions like this if you show the actual survival analysis command you gave and the output you got from Stata. That way, nobody has to respond with imaginary names of variables, and explain them, and the like. It is also usually a good idea to show example data, though in this particular case it is not be needed.

    Comment


    • #3
      Thank you very much!

      Comment

      Working...
      X