powered by
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.
serp
# S3 method for serp BIC(object, ...)
A single numeric value of the model.
An object of class serp.
additional arguments.
serp, AIC.serp, coef.serp, logLik.serp,
AIC.serp
coef.serp
logLik.serp
library(serp) m <- serp(rating ~ temp + contact, slope = "parallel", link = "loglog", data = wine) BIC(m)
Run the code above in your browser using DataLab