I have just coded a Cox non proportional regression
coxph(formula = Surv(TIME, TIME2, DEL) ~ SCORE10K + Z, data = WRDS)
where SCORE10K and Z are two time dependent variables which should predict bankruptcy.
However when I check for assumption violations, I get this strange output.
SCORE10K and Z are decimal variables.
summary(viol.cox)
Length Class Mode
table 9 -none- numeric
x 25 -none- numeric
y 50 -none- numeric
var 4 -none- numeric
call 2 -none- call
transform 1 -none- character
> cox.zph(model.coxph)
rho chisq p
SCORE10K NA NaN NaN
Z NA NaN NaN
GLOBAL NA NaN NaN
Warning message:
In cor(xx, r2) : the standard deviation is zero