priorsense: Prior Diagnostics and Sensitivity Analysis

Provides functions for prior and likelihood sensitivity analysis in Bayesian models. Currently it implements methods to determine the sensitivity of the posterior to power-scaling perturbations of the prior and likelihood.

Version: 1.4.0
Depends: R (≥ 4.1.0)
Imports: checkmate (≥ 2.3.4), cli (≥ 3.6.6), ggdist (≥ 3.3.3), ggh4x (≥ 0.3.1), ggplot2 (≥ 4.0.3), grDevices, grid, matrixStats (≥ 1.5.0), posterior (≥ 1.7.0), rlang (≥ 1.3.0), stats, tibble (≥ 3.3.1), utils
Suggests: bayesplot (≥ 1.16.0), brms (≥ 2.23.0), cmdstanr (≥ 0.9.0), iwmm (≥ 0.0.1), nimble (≥ 1.4.3), philentropy (≥ 0.10.0), quarto (≥ 1.5.1), R2jags (≥ 0.8), rstan (≥ 2.32.7), testthat (≥ 3.3.2), transport (≥ 0.15), vdiffr (≥ 1.0.9)
Published: 2026-09-30
DOI: 10.32614/CRAN.package.priorsense
Author: Noa Kallioinen ORCID iD [aut, cre], Topi Paananen ORCID iD [aut], Paul-Christian Bürkner ORCID iD [aut], Aki Vehtari ORCID iD [aut], Frank Weber ORCID iD [ctb], Simon Taylor [rev], Dylan Dijk [rev]
Maintainer: Noa Kallioinen <noa.kallioinen at helsinki.fi>
BugReports: https://github.com/stan-dev/priorsense/issues
License: GPL (≥ 3)
URL: https://mc-stan.org/priorsense/, https://discourse.mc-stan.org/
NeedsCompilation: no
Additional_repositories: https://topipa.r-universe.dev, https://stan-dev.r-universe.dev
Citation: priorsense citation info
Materials: README, NEWS
CRAN checks: priorsense results

Documentation:

Reference manual: priorsense.html , priorsense.pdf
Vignettes: Getting started with priorsense (source, R code)
Published papers using priorsense (source)
Using priorsense with brms (source, R code)
Using priorsense with JAGS (source, R code)
Using priorsense with NIMBLE (source, R code)
Using priorsense with Stan (source, R code)

Downloads:

Package source: priorsense_1.4.0.tar.gz
Windows binaries: r-devel: priorsense_1.4.0.zip, r-release: priorsense_1.2.0.zip, r-oldrel: priorsense_1.2.0.zip
macOS binaries: r-release (arm64): priorsense_1.2.0.tgz, r-oldrel (arm64): priorsense_1.2.0.tgz, r-release (x86_64): priorsense_1.4.0.tgz, r-oldrel (x86_64): priorsense_1.4.0.tgz
Old sources: priorsense archive

Reverse dependencies:

Reverse suggests: brms, bsitar, gp3bayes, hbsaems

Linking:

Please use the canonical form https://CRAN.R-project.org/package=priorsense to link to this page.