Alexandra Thorn
2011-Jun-23 17:32 UTC
[R] Ranking submodels by AIC (more general question)
Here's a more general question following up on the specific question I asked earlier: Can anybody recommend an R command other than mle.aic() (from the wle package) that will give back a ranked list of submodels? It seems like a pretty basic piece of functionality, but the closest I've been able to find is stepAIC(), which as far as I can tell only gives back the best submodel, not a ranking of all submodels. Thanks in advance, Alexandra
Jan van der Laan
2011-Jun-23 19:29 UTC
[R] Ranking submodels by AIC (more general question)
Alexandra, Have a look at add1 and drop1. Regards, Jan On 06/23/2011 07:32 PM, Alexandra Thorn wrote:> Here's a more general question following up on the specific question I > asked earlier: > > Can anybody recommend an R command other than mle.aic() (from the wle > package) that will give back a ranked list of submodels? It seems like > a pretty basic piece of functionality, but the closest I've been able to > find is stepAIC(), which as far as I can tell only gives back the best > submodel, not a ranking of all submodels. > > Thanks in advance, > Alexandra > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.