Using the logistic regression model