Skip to content
Prev 12070 / 20628 Next

Mixed Model Specification

Dear All 

I have a question about the use of a mixed effects model. I have presence/absence data for a mussel species collected at 25 sites. I wish to relate the presence/absence to a number of environmental variables and also want to take into account site. Is it feasible to use site as a random effect as I have only one replicate per site   e.g.

M1<-glmer(Presence ~ Substrate, (1 | Site), family = binomial, data = data)

Best wishes

Tom