glmpath (version 0.98)

summary.glmpath: Produces an anova-type summary for a glmpath object

Description

This function produces an anova-type summary for a glmpath object.

Usage

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

Arguments

object

a glmpath object

...

additional arguments

Value

A data.frame is returned, with the following components at transition points:

Df

degrees of freedom at each step

Deviance

deviance computed at each step

AIC

AIC value at each step

BIC

BIC value at each step

Details

An anova type of summary is returned, including Df, Deviance, AIC, and BIC values for the steps where the active set changed.

References

Mee Young Park and Trevor Hastie (2007) L1 regularization path algorithm for generalized linear models. J. R. Statist. Soc. B, 69, 659-677.

See Also

glmpath, plot.glmpath, print.glmpath

Examples

Run this code
# NOT RUN {
data(heart.data)
attach(heart.data)
fit <- glmpath(x, y)
summary(fit)
detach(heart.data)
# }

Run the code above in your browser using DataLab