Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bflt

Compute BF(Less than)


Description

Computes the BF12, where 1 is less than and 2 is greater than.

Usage

bflt(mcmc, less_than, prior_cumul_fun, ...)

Arguments

mcmc

MCMC vector.

less_than

Value to test.

prior_cumul_fun

CDF function.

...

Details

The BF12 here is BF for a parameter being less than a threshold, t, vs the parameter being greater than t. This borrows from the encompassing approach, where u is the unconstrained prior: BF1u = p(D|H = 1) / p(D|H = u) BF2u = p(D|H = 2) / p(D|H = u) BF12 = BF1u / BF2u.

BF1u = int p(D|H = 1, theta_1)p(theta_1 | H = 1) / p(D|H = u, theta_u)p(theta_u | H=u)

Value

BF12 value.

Author(s)

Stephen Martin


MIRES

Measurement Invariance Assessment Using Random Effects Models and Shrinkage

v0.1.0
MIT + file LICENSE
Authors
Stephen Martin [aut, cre] (<https://orcid.org/0000-0001-8085-2390>), Philippe Rast [aut] (<https://orcid.org/0000-0003-3630-6629>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.