Learn R Programming

hierNet (version 1.10.1)

A Lasso for Hierarchical Interactions

Description

Fits sparse interaction models for continuous and binary responses subject to the strong (or weak) hierarchy restriction that an interaction between two variables only be included if both (or at least one of) the variables is included as a main effect. For more details, see Bien, J., Taylor, J., Tibshirani, R., (2013) "A Lasso for Hierarchical Interactions." Annals of Statistics. 41(3). 1111-1141.

Copy Link

Version

Install

install.packages('hierNet')

Monthly Downloads

236

Version

1.10.1

License

GPL-2

Maintainer

Jacob Bien

Last Published

September 9th, 2026

Functions in hierNet (1.10.1)

hierNet

A Lasso for interactions
predict.hierNet.path

Prediction function for hierNet.path and hierNet.logistic.path.
hierNet.cv

Cross-validation function for hierNet
predict.hierNet

Prediction function for hierNet and hierNet.logistic.
hierNet.path

Fit a path of hierNet models- lasso models with interactions
hierNet-internal

Internal hierNet functions
hierNet.logistic

A logistic regression Lasso for interactions
hierNet.varimp

Variable importance for hierNet.
predict.hierNet.logistic

Prediction function for hierNet.logistic.
hierNet.logistic.path

Fit a path of logistic hierNet models- lasso models with interactions