# Modelling a binary response variable with a binary explanatory variable

I'm modeling (using GLM) one binary explanatory variable against a binary response variable.

The output looks ok to me, but I'm a biologist with a basic knowledge of stats, I just wanted to ask if there's any rule/caveat/problem for modeling a binary versus a binary?

-

+1, in addition to @MichaelChernick's answer, you may find it simpler to use a $\chi^2$ test of independence for a 2x2 contingency table, which is, in essence, a special case of the GLiM where both variables are binary. – gung Aug 8 '12 at 17:15