Use of glm with ri2
I am conducting a randomisation inference procedure with ri2 for a binary model. I use glm and specify as a family binomial (link = ‘logit’). When I use the ri2 on this model apparently it is not considering this family. I get different coefficients which seem to be similar to the output when not specifying any family; the default family seems to be gaussian which equates to using lm if I am understanding this correctly.