bayesintervals: Reducible Imprecision and Bayesian Intervals for Mixed Models

Calculates and visualizes Bayesian credible, prediction and tolerance intervals, and posterior predictive distributions, for linear mixed models from Markov chain Monte Carlo (MCMC) samples of the model parameters. Users define the model through fixed effects, variance components and optional covariates, and results can be back-transformed from the log scale. Tolerance intervals are derived from the posterior predictive distribution following Krishnamoorthy and Mathew (2009) <doi:10.1002/9780470473900>, including the construction of one-dimensional two-sided intervals from the bivariate posterior of the lower and upper quantiles. Reducible imprecision measures the share of the tolerance-interval half-width that exceeds the prediction-interval half-width, that is, the epistemic uncertainty that more data could reduce. The package includes an interactive 'shiny' application, started with start_app_view(), which has its own name: 'BSI' (Bayesian Statistical Intervals). The development repository on 'GitHub' is called 'BayesianSI.Calculator'.

Version: 3.0.0
Depends: R (≥ 4.1.0)
Imports: shiny, DT, bslib, later, dplyr, readr, data.table, ggplot2, plotly, stats, utils, grDevices
Suggests: testthat
Published: 2026-11-25
DOI: 10.32614/CRAN.package.bayesintervals (may not be active yet)
Author: Ekin Ören [aut, cre], Sebastian Schmitz [aut], Sanofi [cph, fnd]
Maintainer: Ekin Ören <ekin.oren.3 at gmail.com>
BugReports: https://github.com/Sanofi-Public/BayesianSI.Calculator/issues
License: Apache License (== 2.0)
URL: https://sanofi-public.github.io/BayesianSI.Calculator/, https://github.com/Sanofi-Public/BayesianSI.Calculator
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: bayesintervals results

Documentation:

Reference manual: bayesintervals.html , bayesintervals.pdf

Downloads:

Package source: bayesintervals_3.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: bayesintervals_3.0.0.zip, r-oldrel: not available
macOS binaries: r-release (arm64): bayesintervals_3.0.0.tgz, r-oldrel (arm64): bayesintervals_3.0.0.tgz, r-release (x86_64): bayesintervals_3.0.0.tgz, r-oldrel (x86_64): bayesintervals_3.0.0.tgz

Linking:

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