Hi,

I have been performing survival analysis using Cox regression models, and I encountered situation when after adding time-varying effect for a variable X (X*time; variable violated the PH assumption), the added interaction with time was significant in the model, but the main effect of variable X was not, as illustarted below:

Model without interaction with time:

coef exp(coef) se(coef) z Pr(>|z|)

factor(X)1 0.4633 1.5894 0.1625 2.852 0.004 **

Model with interaction between X and time:

coef exp(coef) se(coef) z Pr(>|z|)

factor(X)1 -0.3978 0.6718 0.4444 -0.895 0.371

tt(factor(X)) 0.6230 1.8645 0.2816 2.212 0.027 *

In the study we are interested in the effect of the X variable on the survival outcome, and after inclusion of the time-varying effect X*time, I am no longer sure about the value of the variable X in describing the risk of the outcome, as the main effect is now not significant.

Is the significance of time-varying effect of variable X enough to assume that the variable X is significant for the outcome risk, even though the main effect is no longer significant in such scenario?

Or, do both of them, the main effect of X and the time-varying effect of X have to be significant in the model to be able to say that X is significant for the outcome?

Any help in interpreting these is very welcome.

More Aleksandra Szwedo's questions See All
Similar questions and discussions