logistic regression ranking program