Computes the Akaike Information Criterion for an spdur class object.

# S3 method for spdur
AIC(object, ..., k = 2)

Arguments

object

An object of class spdur.

Optional arguments.

k

The penalty parameter, by default 2. For BIC.spdur, the penalty parameter equals log(N).

See also

link{AIC}, link{BIC.spdur}

Examples

data(model.coups) AIC(model.coups)
#> [1] 645.6188