Hello everyone,

I'm having hard time using Generalized Linear Models in hypothesis testing in community ecology. I'm trying to figure out whether a certain treatment has resulted in higher counts of individuals. In the attached file, you will see four treatment results of unequal sample sizes. I want to see whether "Treatment 1a" has attracted more individuals than "Treatment 1b" and, similarly, whether "Treatment 2a" has attracted more individuals than "Treatment 2b" (1a and 1b are compared - 2a and 2b are compared separately). Or I can simply say I want to test the hypothesis "Treatments 1b and 2b have attracted a higher mean number of individuals than their counterparts". Can anybody tell me how to do this hypothesis testing using R and Generalized Linear Models step by step? You can save your answers in the form of a script and just attach it to your answer. Thanks in advance.

More İbrahim Kaan Özgencil's questions See All
Similar questions and discussions