Hierarchical Shrinkage Stan Models for Biomarker Selection
Overview
Linear and logistic regression models penalized with hierarchical shrinkage priors for selection of biomarkers (or more general variable selection), which can be fitted using Stan (Carpenter et al. (2017) doi:10.18637/jss.v076.i01). It implements the horseshoe and regularized horseshoe priors (Piironen and Vehtari (2017) doi:10.1214/17-EJS1337SI), as well as the projection predictive selection approach to recover a sparse set of predictive biomarkers (Piironen, Paasiniemi and Vehtari (2020) doi:10.1214/20-EJS1711).
Smaller Changes and Bug Fixes
- Update deprecated syntax for future rstan compatibility (thanks to Andrew Johnson for the patch).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-29
- ERROR12 OK, 1 ERROR2026-07-27
- OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 21 (3 internal)includes a package overview page
- Examples that run
- 80%12 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 10%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- 7
- Median days to close, 50 most recently updated closed PRs
- 126
Checks run against github.com/mcol/hsstan on 2026-10-25.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing hsstan adds 49 packages (23 with compiled code, 44 MB of source tarballs). Heaviest: BH 14 MB, ggplot2 6.0 MB, loo 2.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.8.2Latest
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.8.12021-09-16 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.82020-06-29 · diff ↗
- 0.72020-05-01 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.62019-09-22
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-09-22
- Total releases
- 5 / 7 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.6
- Bundled data
- 157 KB / 1 file
- Download size
- 196 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("hsstan")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.