| AIC.serp | R Documentation |
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.
## S3 method for class 'serp'
AIC(object, ..., k = 2)
object |
An object of class |
... |
additional arguments. |
k |
fixed value equal to 2. |
A single numeric value of the model AIC.
serp, BIC.serp, coef.serp,
logLik.serp,
library(serp)
m <- serp(rating ~ temp + contact, slope = "parallel", link = "probit",
data = wine)
AIC(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.