Question about package Coxme:
I develop a cox model that includes a variable "treatment" with 3 levels (A, B, 
C):

 > model_alea_int <- coxme(Surv(delai, status) ~ (1|trt)+ strata(center) , data)

I am surprised that the output given in R is 3 coefficients for random effects 
whereas only 2 dummy variables are created:
> contrasts(data$trt)
       B C   
A      0 0
B      1 0
C      0 1

 > ranef(model_alea_int)
$trt
         A       B      C 
 0.24093054 -0.08332041 -0.15761013 

 I want to compare treatment B /treatment A and Treatment C /treatment A.
Is it possible to consider random effect for this variable "treatment" with 3 
levels?
what is the interpretation of the 3 coefficients?
Thank you.




--
View this message in context: 
http://r.789695.n4.nabble.com/Cox-model-random-effect-on-a-variable-with-3-levels-tp4665815.html
Sent from the R help mailing list archive at Nabble.com.
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to