Learn R Programming

serp (version 0.2.5)

summary.serp: Summary method for a fitted serp object.

Description

This function summarizes the result of a fitted serp object in a dataframe.

Usage

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

Value

coefficients

the matrix of coefficients, standard errors, z-values and p-values.

null.deviance

the deviance for the intercept only model.

null.logLik

the log-likelihood for the intercept only model.

penalty

list of penalization information obtained with slope set to "penalize".

expcoefs

the exponentiated coefficients.

Arguments

object

An object of class serp.

...

Not used. Additional summary arguments.

Details

an object of class summary.serp. A list (depending on the type of slope used) of all model components defined in the serp, function with additional components listed below.

See Also

anova.serp, predict.serp, confint.serp, vcov.serp

Examples

Run this code
library(serp)
m <- serp(rating ~ temp + contact, slope = "penalize",
           reverse = TRUE, link = "logit", tuneMethod = "user",
           lambda = 0, data = wine)
summary(m)

Run the code above in your browser using DataLab