search for: r2adj

Displaying 1 result from an estimated 1 matches for "r2adj".

2009 Jul 22
2
All possible linear models given multiple explaining variables
Hi, I would like to have a script/function (or write one) that can calculate the linear models for all possible combinations of explaining variables. Eventually I would like to end up with a data base (or data frame) giving for each model the R2, R2adj, AIC etc. Currently I'm a bit stuck while writing my own script using the lm() function from the base package. Also, I haven't fund any function (yet) that can do this as well. Perhaps these functions/scripts already exist? I would be very grateful to any suggestions and thoughts. kind re...