[R] Mixed models

From: Alan Harrison <tharrison01_at_qub.ac.uk>
Date: Wed, 1 Aug 2007 12:11:33 +0100


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_at_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. Received on Fri 01 Feb 2008 - 12:16:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 03 Feb 2008 - 17:30:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive