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

CRAN

269

Last 30 days

15454th

676

Last 90 days

3K

Last year

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

r2u CRAN

9

Last 30 days

23

Last 90 days

92

Last year

Trend: -35.7% (30d vs prior 30d)

autoCRAN

2

Last 7 days

10

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 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-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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘rms’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
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

7 tracked
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