powered by
This function produces an anova-type summary for a glmpath object.
# S3 method for glmpath summary(object, ...)
a glmpath object
glmpath
additional arguments
A data.frame is returned, with the following components at transition points:
degrees of freedom at each step
deviance computed at each step
AIC value at each step
BIC value at each step
An anova type of summary is returned, including Df, Deviance, AIC, and BIC values for the steps where the active set changed.
Mee Young Park and Trevor Hastie (2007) L1 regularization path algorithm for generalized linear models. J. R. Statist. Soc. B, 69, 659-677.
glmpath, plot.glmpath, print.glmpath
# 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