run logistic regression