Displaying 1 result from an estimated 1 matches for "model_glmm".
Did you mean:
model_glm
2012 Feb 24
1
code for mixed model in R?
...ariable in R or specify the variance matrix. Can you please help me?
Thanks
Jurgen
## SAS:
proc glimmix data=trend method=RSPL;
class pid;
model mdrfinal (event = '1') = time therapy comment / dist=binary
link=logit solution cl;
random intercept / subject=pid type=un;
run;
## R:
model_GLMM<- glmmPQL(mdrfinal ~ time + therapy + comment, data = data,
family = binomial, random = ~1| time)
summary(model_GLMM)
--
View this message in context: http://r.789695.n4.nabble.com/code-for-mixed-model-in-R-tp4416915p4416915.html
Sent from the R help mailing list archive at Nabble.com.