Package: hsstan 0.8.2.9000

hsstan: Hierarchical Shrinkage Stan Models for Biomarker Selection

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>).

Authors:Marco Colombo [aut, cre], Paul McKeigue [aut], Athina Spiliopoulou [ctb]

hsstan_0.8.2.9000.tar.gz
hsstan_0.8.2.9000.zip(r-4.7)hsstan_0.8.2.9000.zip(r-4.6)hsstan_0.8.2.9000.zip(r-4.5)
hsstan_0.8.2.9000.tgz(r-4.6-x86_64)hsstan_0.8.2.9000.tgz(r-4.6-arm64)hsstan_0.8.2.9000.tgz(r-4.5-x86_64)hsstan_0.8.2.9000.tgz(r-4.5-arm64)
hsstan_0.8.2.9000.tar.gz(r-4.7-arm64)hsstan_0.8.2.9000.tar.gz(r-4.7-x86_64)hsstan_0.8.2.9000.tar.gz(r-4.6-arm64)hsstan_0.8.2.9000.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
hsstan/json (API)

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

Bug tracker:https://github.com/mcol/hsstan/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • diabetes - Diabetes data with interaction terms

On CRAN:

Conda:

bayesianfeature-selectionmcmccpp

3.91 score 7 stars 23 scripts 281 downloads 15 exports 49 dependencies

Last updated from:450e539800. Checks:12 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK367
linux-devel-x86_64OK386
source / vignettesOK348
linux-release-arm64OK394
linux-release-x86_64OK394
macos-release-arm64OK456
macos-release-x86_64OK790
macos-oldrel-arm64OK270
macos-oldrel-x86_64OK711
windows-develOK560
windows-releaseOK561
windows-oldrelOK620
wasm-releaseFAIL149

Exports:bayes_R2hsstankfoldlog_liklooloo_R2nsamplesposterior_intervalposterior_linpredposterior_performanceposterior_predictposterior_summaryprojselsampler.statswaic

Dependencies:abindbackportsBHcallrcheckmateclicpp11descdistributionalfarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglifecycleloomagrittrmatrixStatsnumDerivotelpillarpkgbuildpkgconfigposteriorpROCprocessxpsQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsS7scalesStanHeaderstensorAtibbleutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Hierarchical shrinkage Stan models for biomarker selectionhsstan-package
Bayesian and LOO-adjusted R-squaredbayes_R2 bayes_R2.hsstan loo_R2 loo_R2.hsstan
Diabetes data with interaction termsdiabetes
Hierarchical shrinkage modelshsstan
K-fold cross-validationkfold kfold.hsstan
Pointwise log-likelihoodlog_lik log_lik.hsstan
Predictive information criteria for Bayesian modelsloo loo.hsstan waic waic.hsstan
Number of posterior samplesnsamples nsamples.hsstan
Plot of relative explanatory power of predictorsplot.projsel
Posterior uncertainty intervalsposterior_interval posterior_interval.hsstan
Posterior distribution of the linear predictorposterior_linpred posterior_linpred.hsstan
Posterior measures of performanceposterior_performance
Posterior predictive distributionposterior_predict posterior_predict.hsstan
Posterior summaryposterior_summary posterior_summary.default posterior_summary.hsstan
Print a summary for the fitted modelprint.hsstan
Forward selection minimizing KL-divergence in projectionprojsel
Sampler statisticssampler.stats
Summary for the fitted modelsummary.hsstan