Hello Folks, I'm after some help regarding mixed models. Basically I have sampled a number of different animals at 10 independent sites and am trying to create a mixed model to account for the variation between sites my current model looks like this:
mm<-glmm.admb(Hep~Sex+Mass, random=~Mouse, group=Location, data=alan, family="binomial", link="logit") I numbered each animal within each site 1->n to create the "Mouse" variable, then grouped this by "Location", it is the variance component of the site that I am interested in so when I get my output with the SD for "Mouse" is that what I want or have I structured the model incorrectly?? Any help much appreciated, Thanks Alan. Alan Harrison Quercus Queen's University Belfast MBC, 97 Lisburn Road Belfast BT9 7BL T: 02890 972219 M: 07798615682 [[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.