Learn R Programming

serp (version 0.2.5)

BIC.serp: BIC for a fitted serp object

Description

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.

Usage

# S3 method for serp
BIC(object, ...)

Value

A single numeric value of the model.

Arguments

object

An object of class serp.

...

additional arguments.

See Also

serp, AIC.serp, coef.serp, logLik.serp,

Examples

Run this code
library(serp)
m <- serp(rating ~ temp + contact, slope = "parallel", link = "loglog",
          data = wine)
BIC(m)

Run the code above in your browser using DataLab