50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


asbio (version 1.6-5)

lm.select: AIC, AICc, BIC, Mallow's Cp, and PRESS evaluation of linear models

Description

The function provide model selection summaries using AIC, AICc, BIC, Mallow's Cp, and PRESS for a list of objects of class lm

Usage

lm.select(lms, deltaAIC = FALSE)

Arguments

lms

A list containing linear models.

deltaAIC

Logical; Should a Δ AIC summary be given with relative likelihoods and Akaike weights?

See Also

AIC, press

Examples

Run this code
# NOT RUN {
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