Learn R Programming

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

penalized (version 0.9-50)

L1 (Lasso and Fused Lasso) and L2 (Ridge) Penalized Estimation in GLMs and in the Cox Model

Description

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

2,286

Version

0.9-50

License

GPL (>= 2)

Maintainer

ORPHANED

Last Published

February 1st, 2017

Functions in penalized (0.9-50)

breslow object

Breslow estimator object
penfit object

Penalized regression object
Penalized generalized linear models

Penalized regression
Prediction from penalized models

Prediction based on penfit objects
Penalized regression contrasts

Contrast functions for penalized regression
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
Cross-validation in penalized generalized linear models

Cross-validated penalized regression