Package: shrink 1.2.3

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.

Authors:Daniela Dunkler [aut, cre], Georg Heinze [aut]

shrink_1.2.3.tar.gz
shrink_1.2.3.zip(r-4.5)shrink_1.2.3.zip(r-4.4)shrink_1.2.3.zip(r-4.3)
shrink_1.2.3.tgz(r-4.4-any)shrink_1.2.3.tgz(r-4.3-any)
shrink_1.2.3.tar.gz(r-4.5-noble)shrink_1.2.3.tar.gz(r-4.4-noble)
shrink_1.2.3.tgz(r-4.4-emscripten)shrink_1.2.3.tgz(r-4.3-emscripten)
shrink.pdf |shrink.html
shrink/json (API)
NEWS

# Install 'shrink' in R:
install.packages('shrink', repos = c('https://biometrician.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/biometrician/shrink/issues

Datasets:
  • GBSG - German Breast Cancer Study Group
  • deepvein - Deep Vein Thrombosis Study

On CRAN:

5 exports 2 stars 1.05 score 79 dependencies 17 scripts 528 downloads

Last updated 11 months agofrom:1ae1c1a9cf. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 26 2024
R-4.5-winOKAug 26 2024
R-4.5-linuxOKAug 26 2024
R-4.4-winOKAug 26 2024
R-4.4-macOKAug 26 2024
R-4.3-winOKJul 27 2024
R-4.3-macOKJul 27 2024

Exports:isrcsshrinkshrink.coxphshrink.glmshrink.lm

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercodetoolscolorspacedata.tabledigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmemoisemfpmgcvmimemultcompmunsellmvtnormnlmennetnumDerivpillarpkgconfigpolsplinequantregR6rappdirsRColorBrewerrlangrmarkdownrmsrpartrstudioapisandwichsassscalesSparseMstringistringrsurvivalTH.datatibbletinytexutf8vctrsviridisviridisLitewithrxfunyamlzoo

JSS Example Code

Rendered fromJSSexample.Rmdusingknitr::rmarkdownon Aug 26 2024.

Last update: 2020-06-17
Started: 2020-06-17