inclusionBF: Get inclusion BFs for effects in a Bayesian model

Description Usage Arguments Value Author(s)

Description

A wrapper around bayesfactor_inclusion

Usage

1
inclusionBF(BFGrid, match_models = FALSE, priorOdds = NULL)

Arguments

match_models

If FALSE (default), Inclustion BFs are computed by comparing all models with an effect against all models without the effect. If TRUE, Inclusion BFs are computed by comparing all models with an effect against models without the effect AND without any higher-order interactions with the effect.

priorOdds

optional vector of prior odds for the models (not including H0/H0). See priorOdds in BayesFactor

BF

an object of class BFGrid.

Value

a data frame containing the prior and posterior probabilities, and BF for each effect.

Author(s)

Mattan S. Ben-Shachar


mattansb/BFEffect documentation built on June 7, 2019, 8:49 p.m.