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

Description Usage Arguments Details Value See Also Examples

View source: R/serp.method.R

Description

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

Usage

1
2
## 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, errorMetrics

Examples

1
2
3
4
5
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 Nov. 8, 2021, 1:08 a.m.