Description Usage Arguments Details Value Author(s)
Computes the BF12, where 1 is less than and 2 is greater than.
1 |
mcmc |
MCMC vector. |
less_than |
Value to test. |
prior_cumul_fun |
CDF function. |
... |
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)
BF12 value.
Stephen Martin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.