Announcement

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

  • Help with changing reference category when doing a cox regression

    Hello,
    I am doing a cox regression and have a variable socioeconomic status 'ses' which I have labelled as 0= low ses, 1=middle ses, and 2=high. I would like to change my reference category from 'low ses' which is the default, to 'high ses' to enable easier interpretation and presentation of the results. I have used the command I normally use when doing a logistic regression char ses [omit] 2 but the reference category does not change afterwards. I use Stata Version 14.0. Can anyone kindly advise? Thanks.
    Elima

  • #2
    You do not present your regression command. I assume that you are using factor variables. If so, enter the variable as

    Code:
    ib2.socioeconomic_status

    Comment


    • #3
      Thank you. I decided to create a new variable and label it in the way I needed it to be for easier interpretation.

      Comment

      Working...
      X