I have data where I measured the distribution of individuals among 4 patches that differ in known resource density (a continuous variable). Groups of 12 individuals were observed and their presence in the 4 patch types was recorded 10 times (every 20 minutes). Trials differed in the presence or absence of another species. If I only had two patches, I believe I would use a GLMM (family = binomial) with arena_ID as a random variable and presence/absence of other species as a fixed effect.

However, with 4 patch types I want to use patch type (amount of resources) as a continuous fixed effect. However, the percent patch types always sums to 100% (so a regression of percent in patch versus resource in patch seems somewhat incorrect). And the data is multinomial, rather binomial.

I have been calculating the slope of percent in patch versus patch resource for each arena_ID, and then asking if the collection of slopes differ from 0 using a t-test, but I am looking for a better way.

More Barney Luttbeg's questions See All
Similar questions and discussions