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.tgz(r-4.4-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.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:

4.26 score 2 stars 18 scripts 470 downloads 5 exports 79 dependencies

Last updated 1 years agofrom:1ae1c1a9cf. Checks:OK: 5. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 25 2024
R-4.5-winOKOct 25 2024
R-4.5-linuxOKOct 25 2024
R-4.4-winOKOct 25 2024
R-4.4-macOKOct 25 2024

Exports:isrcsshrinkshrink.coxphshrink.glmshrink.lm

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercodetoolscolorspacedata.tabledigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmemoisemfpmgcvmimemultcompmunsellmvtnormnlmennetnumDerivpillarpkgconfigpolsplinequantregR6rappdirsRColorBrewerrlangrmarkdownrmsrpartrstudioapisandwichsassscalesSparseMstringistringrsurvivalTH.datatibbletinytexutf8vctrsviridisviridisLitewithrxfunyamlzoo

JSS Example Code

Rendered fromJSSexample.Rmdusingknitr::rmarkdownon Oct 25 2024.

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