Fit Regularization Path for Generalized Additive Models

Using overlap grouped-lasso penalties, 'gamsel' selects whether a term in a 'gam' is nonzero, linear, or a non-linear spline (up to a specified max df per variable). It fits the entire regularization path on a grid of values for the overall penalty lambda, both for gaussian and binomial families. See for more details.


This package vits a GAM model using a group lasso path. For each variable it is selected as 0, linear, or nonlinear with an automatically selected df up to the max allowed per variable.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gamsel")

1.8-5 by Trevor Hastie, 2 years ago


https://arxiv.org/abs/1506.03850


Browse source code at https://github.com/cran/gamsel


Authors: Alexandra Chouldechova [aut] , Trevor Hastie [aut, cre] , Balasubramanian Narasimhan [ctb] , Vitalie Spinu [ctb] , Matt Wand [ctb]


Documentation:   PDF Manual  


GPL-2 license


Imports foreach, mda, splines

Suggests knitr, rmarkdown


See at CRAN