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

View source: R/serp.method.R

summary.serpR Documentation

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 class 'serp'
summary(object, ...)

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.

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.

See Also

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

Examples

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

serp documentation built on March 18, 2022, 6:33 p.m.