use logit to predict