Linear and logistic regression analysis