lm.select | R Documentation |
The function provide model selection summaries using AIC, AICc, BIC, Mallow's C_p
, and PRESS for a list of objects of class lm
lm.select(lms, deltaAIC = FALSE)
lms |
A list containing linear models. |
deltaAIC |
Logical; Should a |
Mallow's C_p
assumes that all models are nested within the first model in the argument lms
. Non-nesting will produce a warning message.
Ken Aho
AIC
, press
Y <- rnorm(100)
X1 <- rnorm(100)
X2 <- rnorm(100)
lms <- list(lm(Y ~ X1), lm(Y ~ X1 + X2))
lm.select(lms)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.