Hello, I am trying to run glmm to test the effect of the three fixed effects [AGE (weaned vs. unweaned claf), LOCATION (zoo vs. park), MOTher's social status (matriarch vs. nonmatriarch)] and one random effect [ID (12 different calves of whom I have multiple but unbalanced observations)] on the a multinomial response variable [DIST (distance from mom at less than 2 meters,between 2-5 meters and at more than 5 meters). Is the *family = binomial* argument in my code incorrect for my data? If it is incorrect, is there a way to test this model with *multinomial response variable*? OConnell.glmm1<-lmer(DIST~AGE+LOC+MOT+(1|ID),data=OConnell,family=binomial(link = "logit")
Thank you for reading. Maggie [[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.