powered by
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
lm.select(lms, deltaAIC = FALSE)
A list containing linear models.
Logical; Should a \(\Delta\) AIC summary be given with relative likelihoods and Akaike weights?
Ken Aho
AIC, press
AIC
press
Y <- rnorm(100) X1 <- rnorm(100) X2 <- rnorm(100) lms <- list(lm(Y ~ X1), lm(Y ~ X1 + X2)) lm.select(lms)
Run the code above in your browser using DataLab