Learn R Programming

⚠️There's a newer version (1.0.12) of this package.Take me there.

glinternet (version 0.9.0)

Learning interactions via hierarchical group-lasso regularization

Description

Fits linear pairwise-interaction models that satisfy strong hierarchy: if an interaction coefficient is estimated to be nonzero, then its two associated main effects also have nonzero estimated coefficients. Accommodates categorical variables (factors) with arbitrary numbers of levels, continuous variables, and combinations thereof. Implements the machinery described in the paper below.

Copy Link

Version

Install

install.packages('glinternet')

Monthly Downloads

1,085

Version

0.9.0

License

GPL-2

Maintainer

Michael Lim

Last Published

August 17th, 2013

Functions in glinternet (0.9.0)

glinternet

Fit a linear interaction model with group-lasso regularization that enforces strong hierarchy in the estimated coefficients
glinternet.cv

Cross-validation for glinternet
coef.glinternet

Return main effect and interaction coefficients.
predict.glinternet

Make predictions from a "glinternet" object.
predict.glinternet.cv

Make predictions from a "glinternetCV" object.
plot.glinternet.cv

Plot CV error from glinternetCV object.