linear and nonlinear regression analysis