Tuning parameters in logistic regression