Returns the bayesian information criterion of a fitted object of class
serp. For the penalized slopes, 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' BIC(object, ...)
An object of class
A single numeric value of the model.
library(serp) m <- serp(rating ~ temp + contact, slope = "parallel", link = "loglog", data = wine) BIC(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.