AIC.serp: AIC for a fitted serp object

Description Usage Arguments Value See Also Examples

Description

Returns the akaike information criterion of a fitted object of class serp. For the penalized slope, the effective degrees of freedom (edf) is obtained from the trace of the generalized hat matrix which depends on the tuning parameter.

Usage

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

Arguments

object

An object of class serp.

...

additional arguments.

k

fixed value equal to 2.

Value

A single numeric value of the model AIC.

See Also

serp, BIC.serp, coef.serp, logLik.serp,

Examples

1
2
3
4
library(serp)
m <- serp(rating ~ temp + contact, slope = "parallel", link = "probit",
          data = wine)
AIC(m)

serp documentation built on Nov. 8, 2021, 1:08 a.m.