I am trying to run a competing risk with the cmprsk package but keep getting errors. The last one that I can not solve is this one:
Error in solve.default(h, z[[2]]) : system is computationally singular: reciprocal condition number = 3.7676e-34
here is the code I used.
crr.matrix <- model.matrix(~ a + b + c + d + e -1, data=mydata)
crr(HV_pT1$time,HV_pT1$status,crr.matrix,failcode=2)