Calculates linear and logistic regressions to find the precise relationship between independent variables.