Skip to content

shrink

Global, Parameterwise and Joint Shrinkage Factor Estimation

v1.2.3 · Oct 31, 2023 · GPL-3

Description

The predictive value of a statistical model can often be improved by applying shrinkage methods. This can be achieved, e.g., by regularized regression or empirical Bayes approaches. Various types of shrinkage factors can also be estimated after a maximum likelihood. While global shrinkage modifies all regression coefficients by the same factor, parameterwise shrinkage factors differ between regression coefficients. With variables which are either highly correlated or associated with regard to contents, such as several columns of a design matrix describing a nonlinear effect, parameterwise shrinkage factors are not interpretable and a compromise between global and parameterwise shrinkage, termed 'joint shrinkage', is a useful extension. A computational shortcut to resampling-based shrinkage factor estimation based on DFBETA residuals can be applied. Global, parameterwise and joint shrinkage for models fitted by lm(), glm(), coxph(), or mfp() is available.

Downloads

259

Last 30 days

16828th

668

Last 90 days

3.5K

Last year

Trend: +23.9% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies survival MASS rms mfp shrink

Version History

new 1.2.3 Mar 10, 2026
updated 1.2.3 ← 1.2.2 diff Oct 30, 2023
updated 1.2.2 ← 1.2.1 diff Feb 7, 2022
updated 1.2.1 ← 1.2.0 diff Mar 8, 2016
updated 1.2.0 ← 1.1 diff Oct 1, 2014
updated 1.1 ← 1.0 diff Oct 20, 2013
new 1.0 Apr 1, 2013