Hi all, I have a question about the interpretation of of the predicted relative hazard after the stcox command. Following is my code:
The result of this code is this graph:

My question is what is the interpretation of the predicted relative hazards on the y-axis? I understand the interpretation of hazard ratios, however, the HRs in the output are based on a point of reference, whereas this graph has everything. Would interpretation then center around the relation between predictions at particular values? I.e. that the relative hazard predicted at pc2=0 is higher than that of pc2=1 by a factor of about 1.4 when satt=2.3. Am i looking at this correctly? Thank you for your assistance.
Code:
. stcox i.pc2##c.satt failure _d: death == 1 analysis time _t: time weight: [pweight=wtssall] (sum of wgt is 2.1737e+04) Iteration 0: log pseudolikelihood = -39195.681 Iteration 1: log pseudolikelihood = -39130.37 Iteration 2: log pseudolikelihood = -39129.823 Iteration 3: log pseudolikelihood = -39129.823 Refining estimates: Iteration 0: log pseudolikelihood = -39129.823 Cox regression -- Breslow method for ties No. of subjects = 21737.34791 Number of obs = 21610 No. of failures = 4159.189528 Time at risk = 295031.6937 Wald chi2(9) = 117.64 Log pseudolikelihood = -39129.823 Prob > chi2 = 0.0000 ------------------------------------------------------------------------------ | Robust _t | Haz. Ratio Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- pc2 | 1 | .8200554 .2761584 -0.59 0.556 .4238343 1.586683 2 | .5424295 .1835357 -1.81 0.071 .2794679 1.052822 3 | .4691222 .1710565 -2.08 0.038 .2295681 .958651 4 | .5458019 .1795656 -1.84 0.066 .2864144 1.0401 | satt | 1.039236 .0616714 0.65 0.517 .9251274 1.16742 | pc2#c.satt | 1 | 1.005714 .0838742 0.07 0.946 .8540562 1.184303 2 | 1.064622 .0891643 0.75 0.455 .903453 1.254542 3 | 1.146117 .1044173 1.50 0.134 .9586936 1.37018 4 | 1.035408 .0858124 0.42 0.675 .8801686 1.218028 ------------------------------------------------------------------------------ margins, at(satt=(2.3 5.8) pc2=(0(1)4)) ------------------------------------------------------------------------------ | Delta-method | Margin Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- _at | 1 | 1.092554 .1491215 7.33 0.000 .8002816 1.384827 2 | 1.250096 .4302696 2.91 0.004 .4067831 2.093409 3 | .9077743 .2383481 3.81 0.000 .4406206 1.374928 4 | 1.059594 .2836983 3.73 0.000 .5035554 1.615632 5 | .6844408 .18012 3.80 0.000 .331412 1.03747 6 | .9750351 .2615896 3.73 0.000 .4623289 1.487741 7 | .701383 .1884264 3.72 0.000 .3320741 1.070692 8 | 1.29347 .3594828 3.60 0.000 .5888966 1.998043 9 | .6460034 .1670661 3.87 0.000 .3185598 .973447 10 | .8348832 .2251931 3.71 0.000 .3935128 1.276254 ------------------------------------------------------------------------------ marginsplot, scheme(s1mono) noci
My question is what is the interpretation of the predicted relative hazards on the y-axis? I understand the interpretation of hazard ratios, however, the HRs in the output are based on a point of reference, whereas this graph has everything. Would interpretation then center around the relation between predictions at particular values? I.e. that the relative hazard predicted at pc2=0 is higher than that of pc2=1 by a factor of about 1.4 when satt=2.3. Am i looking at this correctly? Thank you for your assistance.
Comment