Similar to the aa.glm() function, use the aa.glm2() function to perform linear regression analysis for any of a number of distribution functions using a user-specified distribution family and link function.
In addition, the aa.glm2() function supports the regulation models ridge, LASSO, and elastic net, and it uses the coordinate descent method to minimize the loss function.