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-x86_64)hsstan_0.8.2.9000.zip(r-4.7-arm64)hsstan_0.8.2.9000.zip(r-4.6-x86_64)hsstan_0.8.2.9000.zip(r-4.6-arm64)hsstan_0.8.2.9000.zip(r-4.5-x86_64)
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)
hsstan_0.8.2.9000.tgz(r-4.6-emscripten)
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:
  • onetbb– Parallelism library for C++
  • c++– GNU Standard C++ Library v3
Datasets:
  • diabetes - Diabetes data with interaction terms

On CRAN:

Conda:

bayesianfeature-selectionmcmconetbbcpp

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

Last updated from:450e539800. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK308
linux-devel-x86_64OK385
source / vignettesOK342
linux-release-arm64OK317
linux-release-x86_64OK400
macos-release-arm64OK269
macos-release-x86_64OK587
macos-oldrel-arm64OK334
macos-oldrel-x86_64OK425
windows-devel-arm64OK661
windows-devel-x86_64OK540
windows-release-arm64OK570
windows-release-x86_64OK522
windows-oldrel-x86_64OK494
wasm-releaseOK196

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