Is it possible to test for mean difference between groups using GLM in R?
Suppose I have a data set with the number of positives n from total tested N and I wish to test whether there’s a significant difference in mean positives between males and females. If I run a GLM model as follows;