test linearity assumption logistic regression