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:
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')) |
Bug tracker:https://github.com/biometrician/shrink/issues
Last updated 1 years agofrom:1ae1c1a9cf. Checks:OK: 5. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 25 2024 |
R-4.5-win | OK | Oct 25 2024 |
R-4.5-linux | OK | Oct 25 2024 |
R-4.4-win | OK | Oct 25 2024 |
R-4.4-mac | OK | Oct 25 2024 |
Exports:isrcsshrinkshrink.coxphshrink.glmshrink.lm
Dependencies:backportsbase64encbslibcachemcheckmatecliclustercodetoolscolorspacedata.tabledigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmemoisemfpmgcvmimemultcompmunsellmvtnormnlmennetnumDerivpillarpkgconfigpolsplinequantregR6rappdirsRColorBrewerrlangrmarkdownrmsrpartrstudioapisandwichsassscalesSparseMstringistringrsurvivalTH.datatibbletinytexutf8vctrsviridisviridisLitewithrxfunyamlzoo