Code for comparing logistic coefficients