Modeling using logistic regression