shrinkr
Modular Bayesian Hierarchical Shrinkage Models
Implements a two-stage Bayesian hierarchical modeling framework for applying shrinkage to subgroup-specific effects. The package separates model fitting (Stage 1) from hierarchical shrinkage (Stage 2), enabling modular sensitivity analyses without refitting expensive Markov chain Monte Carlo (MCMC) chains. Supports flexible prior specifications through the 'distributional' package, mixture approximations via 'mclust', and efficient 'Stan'-based inference.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.4.5 |
rolling linux/jammy R-4.5 | shrinkr_0.4.5.tar.gz |
4.4 MiB |
0.4.5 |
rolling linux/noble R-4.5 | shrinkr_0.4.5.tar.gz |
4.5 MiB |
0.4.5 |
rolling source/ R- | shrinkr_0.4.5.tar.gz |
3.2 MiB |
0.4.5 |
latest linux/jammy R-4.5 | shrinkr_0.4.5.tar.gz |
4.4 MiB |
0.4.5 |
latest linux/noble R-4.5 | shrinkr_0.4.5.tar.gz |
4.5 MiB |
0.4.5 |
latest source/ R- | shrinkr_0.4.5.tar.gz |
3.2 MiB |
0.4.5 |
2026-04-23 source/ R- | shrinkr_0.4.5.tar.gz |
0 B |
Dependencies (latest)
Imports
- rstan (>= 2.32.7)
- mclust
- posterior
- distributional
- cli
- tibble
- dplyr
- purrr
- stats
- utils
- methods
- Rcpp (>= 0.12.0)
- RcppParallel (>= 5.0.1)
- rstantools (>= 2.5.0)
LinkingTo
- BH (>= 1.66.0)
- Rcpp (>= 0.12.0)
- RcppEigen (>= 0.3.3.3.0)
- RcppParallel (>= 5.0.1)
- rstan (>= 2.32.7)
- StanHeaders (>= 2.32.10)