complete logistic regression