Binomial response variable with 3 continuous and 1 categorical predictor. Best test?

#1
Hello

I have a binomial response variable. Predictors are composed of 3 continuous variables (the results of a Principle Components Analysis of habitat structure variables) and 1 categorical variable (habitat type e.g. grazed or ungrazed). I want to test whether the 3 habitat variables have any effect upon the response variable however, I want to see this effect for each of the 2 groups of the categorical predictor. I am not sure the best way to accomplish this. I assume that I must run some sort of logistic regression GLM but I am not sure how to handle the additional categorical variable. Thanks for your help.
 
#2
Re: Binomial response variable with 3 continuous and 1 categorical predictor. Best te

The easiest and probably a good way is to just run two separate logit models for each grazed or ungrazed. (But to ask for the "best" test is in my view to ambitious.)