bayestestR0.15.0 package

Understand and Describe Bayesian Models and Posterior Distributions

convert_bayesian_as_frequentist

Convert (refit) a Bayesian model to frequentist

density_at

Density Probability at a Given Value

describe_posterior

Describe Posterior Distributions

simulate_simpson

Simpson's paradox dataset simulation

spi

Shortest Probability Interval (SPI)

unupdate

Un-update Bayesian models to their prior-to-data state

weighted_posteriors

Generate posterior distributions weighted across models

hdi

Highest Density Interval (HDI)

map_estimate

Maximum A Posteriori probability estimate (MAP)

rope

Region of Practical Equivalence (ROPE)

bayesfactor_inclusion

Inclusion Bayes Factors for testing predictors across Bayesian models

bayesfactor_models

Bayes Factors (BF) for model comparison

area_under_curve

Area under the Curve (AUC)

as.data.frame.density

Coerce to a Data Frame

as.numeric.p_direction

Convert to Numeric

bayesfactor_parameters

Bayes Factors (BF) for a Single Parameter

bayesfactor_restricted

Bayes Factors (BF) for Order Restricted Models

bayesfactor

Bayes Factors (BF)

bayestestR-package

bayestestR: Describing Effects and their Uncertainty, Existence and Si...

bci

Bias Corrected and Accelerated Interval (BCa)

bic_to_bf

Convert BIC indices to Bayes Factors via the BIC-approximation method.

check_prior

Check if Prior is Informative

ci

Confidence/Credible/Compatibility Interval (CI)

contr.equalprior

Contrast Matrices for Equal Marginal Priors in Bayesian Estimation

describe_prior

Describe Priors

diagnostic_draws

Diagnostic values for each iteration

diagnostic_posterior

Posteriors Sampling Diagnostic

distribution

Empirical Distributions

dot-extract_priors_rstanarm

Extract and Returns the priors formatted for rstanarm

dot-prior_new_location

Set a new location for a prior

dot-select_nums

select numerics columns

effective_sample

Effective Sample Size (ESS)

equivalence_test

Test for Practical Equivalence

estimate_density

Density Estimation

eti

Equal-Tailed Interval (ETI)

mcse

Monte-Carlo Standard Error (MCSE)

mediation

Summary of Bayesian multivariate-response mediation-models

model_to_priors

Convert model's posteriors to priors (EXPERIMENTAL)

overlap

Overlap Coefficient

p_direction

Probability of Direction (pd)

p_map

Bayesian p-value based on the density at the Maximum A Posteriori (MAP...

p_rope

Probability of being in the ROPE

p_significance

Practical Significance (ps)

p_to_bf

Convert p-values to (pseudo) Bayes Factors

pd_to_p

Convert between Probability of Direction (pd) and p-value.

point_estimate

Point-estimates of posterior distributions

reexports

Objects exported from other packages

reshape_iterations

Reshape estimations with multiple iterations (draws) to long format

rope_range

Find Default Equivalence (ROPE) Region Bounds

sensitivity_to_prior

Sensitivity to Prior

sexit_thresholds

Find Effect Size Thresholds

sexit

Sequential Effect eXistence and sIgnificance Testing (SEXIT)

si

Compute Support Intervals

simulate_correlation

Data Simulation

simulate_prior

Returns Priors of a Model as Empirical Distributions

Provides utilities to describe posterior distributions and Bayesian models. It includes point-estimates such as Maximum A Posteriori (MAP), measures of dispersion (Highest Density Interval - HDI; Kruschke, 2015 <doi:10.1016/C2012-0-00477-2>) and indices used for null-hypothesis testing (such as ROPE percentage, pd and Bayes factors). References: Makowski et al. (2021) <doi:10.21105/joss.01541>.

  • Maintainer: Dominique Makowski
  • License: GPL-3
  • Last published: 2024-10-17