inclusion_BF {BayesTools}R Documentation

Compute inclusion Bayes factors

Description

Computes inclusion Bayes factors based on prior and posterior model probabilities and indicator whether the models represent the null or alternative hypothesis

Usage

inclusion_BF(prior_probs, post_probs, is_null)

Arguments

prior_probs

vector of prior model probabilities

post_probs

vector of posterior model probabilities

is_null

logical vector of indicators whether the model corresponds to the null or alternative hypothesis (or an integer vector indexing models corresponding to the null hypothesis)

Value

inclusion_BF returns a Bayes factor.


[Package BayesTools version 0.1.3 Index]