AIC_mlm: Computation of AIC for mlm objects

Description Usage Arguments Value

Description

Extends the extractAIC method from the stats package to handle multi-predictand linear models (objects of class mlm). FROM paleocar

Usage

1
AIC_mlm(fit, scale = 0, k = 2)

Arguments

fit

An object of class mlm.

scale

The estimate of the error variance. scale = 0 indicates that it is to be estimated by maximum likelihood.

k

Numeric, the penalty per parameter to be used; the default k = 2 is the classical AIC.

Value

A list of length 2 giving


jkennel/waterlevel documentation built on Dec. 1, 2019, 6:24 p.m.