AIC.lmvar: AIC for an object of class 'lmvar'

Description Usage Arguments Value Examples

Description

AIC (Aikaike's 'An Information Criterion') for an object of class 'lmvar'

Usage

1
2
## S3 method for class 'lmvar'
AIC(object, ..., k = 2)

Arguments

object

Object of class 'lmvar'

...

For compatibility with AIC generic

k

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

Value

the AIC of the object

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

# Let 'fit' be an object of class 'lmvar'. The classical AIC is
AIC(fit)

# To calculate the AIC with penalty-parameter k = 3 run
AIC(fit, k = 3)

## End(Not run)

lmvar documentation built on May 16, 2019, 5:06 p.m.