Dear all,
I'm running a Cox regression model using -stcox-. I'm interested in the effect of one continuous independent variable on the hazard to commit crime.
The coefficient I get for this variable is positive and significant, and I want to illustrate the results using -margins-:
If I understand correctly, what I get from -margins- after -stcox- is the "relative hazard". But this is relative to what?
For example, if I get that 0.8 for a value of 0.5 for the independent variable, what does that mean?
Thanks!
I'm running a Cox regression model using -stcox-. I'm interested in the effect of one continuous independent variable on the hazard to commit crime.
The coefficient I get for this variable is positive and significant, and I want to illustrate the results using -margins-:
Code:
margins, at(independent_var=(0(0.2)1))
For example, if I get that 0.8 for a value of 0.5 for the independent variable, what does that mean?
Thanks!
Comment