assumptions of linear and logistic regression