Skip to contents

Akaike's information criterion (AIC) method A method to calculate Akaike's 'An Information Criterion' (AIC) of an FLModel object from the value of the obtained log-likelihood stored in its logLik slot.

Usage

# S4 method for FLModel,numeric
AIC(object, k = 2)

Arguments

object

an FLModel object

k

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

Generic function

AIC(object, k)

See also

Author

The FLR Team

Examples


data(nsher)
AIC(nsher)
#> [1] -27.7245