Cox-Snell Residuals: Longer object length is not a multiple of shorter object length

93 views Asked by At

I am running a Cox model in R with 3 explanatory variables.

In the model checking, I try to compute the Cox-Snell residuals but I get this warning message: "Warning message: In data$death - residuals(death.model, type = "martingale") : longer object length is not a multiple of shorter object length".

Since I have never come up to this warning before, I would appreciate any idea on how to handle the situation.

0

There are 0 answers