Skip to content

coxme - fitting random treatment effect nested within centre

1 message · Rasanga Ruwanthi

#
Dear all,

I am using "coxme" function in Kinship library to fit random treatment effect nested within centre. I got 3 treatments (0,1,2) and 3 centres. I used following commands, but got an error.
Error in coxme.fit(X, Y, strats, offset, init, control, weights = weights, : 
Random effects variance is not spd
 
Could anyone help me correcting this error? 
Many thanks in advance.
Ruwanthi


      ____________________________________________________________________________________
Looking for last minute shopping deals?