11
$\begingroup$

I am having a problem with checking the assumptions for a continuous variable in a proportional hazards model. If a variable were a factor with many levels, then I could use the logrank test or check whether the log(-log) transformations of survival curves are parallel. But what if a variable is continuous? Is that method still valid? Is Schoenfeld's test is a solution?

$\endgroup$

1 Answer 1

17
$\begingroup$

If you have not assumed linearity for the continuous variables, or if linearity truly holds, then a next logical step is to assess proportionality of hazards using smoothed scaled Schoenfeld residual plots as implemented in the R survival package's cox.zph function. These plots show the estimated regression coefficient for a binary or continuous variable as a function of time. You hope for flatness in this relationship if PH holds. The function also provides a formal hypothesis test that is sometimes too sensitive against minor non-PH.

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.