Let's consider a scenario where I compute a HR that appears to violate the proportional hazard assumption according to the cox.zph
test, but when plotting the smoothed scaled Schoenfeld residual plot, the violation is found to be not "real", as determined by examining the residual plot to assess the deviation of the coefficient through time, and in this case, the deviation is minor.
I’ve been studying this issue based on a previous Cross Validated discussion in this link. Despite the assumption being violated, the hazard ratio (HR) can still be used for interpretation as long as the function robust=T
is applied in the Cox model. Then, the HR will be referred to as the failure-time-averaged hazard ratio.
However, while I'm not a statistician, I've attempted to understand the concept of when to use robust=T
.
My questions are as follows:
From my understanding, robust errors are employed to calculate standard deviations in heteroscedastic data. Therefore, if the proportional hazard assumption is violated, is it then assumed that the data used for the Cox analysis is heteroscedastic? Is that why it's recommended to calculate the robust error in this case? In other words, does the violation of the proportional hazard assumption indicate heteroscedasticity, or does it imply it for certain?
Should the
robust=T
function always be included in a cox model, even when the proportional hazard assumption is not violated?Should the time-averaged HR always be referred to as the “failure-time-averaged hazard ratio”, or only when the
robust=T
function is implied in the Cox model?