Hi. I have more than 20 variables in the OLS regression model and would like to find the best model. By the best I assume it should have the highest possible adjusted R-squared, R-squared together. Also, I think it should offer the best mix of the independent variables out of these bunch of over 20 variables, so that it contains the as much significant variables as possible. Could you, please give an illustrative code for this kind of task? Maybe one which uses the "glmulti" package? Thanks a lot.

More Yerassyl Assylbekov's questions See All
Similar questions and discussions