logistic regression with dichotomous independent variable