applied logistic regression work