Learn R Programming

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

penalized (version 0.9-42)

L1 (lasso and fused lasso) and L2 (ridge) penalized estimation in GLMs and in the Cox model

Description

A package for fitting possibly high dimensional penalized regression models. The penalty structure can be any combination of an L1 penalty (lasso and fused lasso), an L2 penalty (ridge) and a positivity constraint on the regression coefficients. The supported regression models are linear, logistic and poisson regression and the Cox Proportional Hazards model. Cross-validation routines allow optimization of the tuning parameters.

Copy Link

Version

Install

install.packages('penalized')

Monthly Downloads

4,960

Version

0.9-42

License

GPL (>= 2)

Maintainer

Jelle Goeman

Last Published

November 6th, 2012

Functions in penalized (0.9-42)

Prediction from penalized models

Prediction based on penfit objects
Netherlands Cancer Institute 70 gene signature

The 70 gene signature of the Netherlands Cancer Institute for prediction of metastasis-free survival, measured on 144 independent lymph node positive patients.
Plotting the LASSO path

Plotting the LASSO path
Penalized generalized linear models

Penalized regression
breslow object

Breslow estimator object
Penalized regression contrasts

Contrast functions for penalized regression
penfit object

Penalized regression object
Cross-validation in penalized generalized linear models

Cross-validated penalized regression