shrink: Global, Parameterwise and Joint Shrinkage Factor Estimation

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.

Package details

AuthorDaniela Dunkler [aut, cre], Georg Heinze [aut]
MaintainerDaniela Dunkler <daniela.dunkler@meduniwien.ac.at>
LicenseGPL-3
Version1.2.3
URL https://github.com/biometrician/shrink
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("shrink")

Try the shrink package in your browser

Any scripts or data that you put into this service are public.

shrink documentation built on Nov. 2, 2023, 6:05 p.m.