Learn R Programming

INTRIGUE (version 0.1.0)

bf.approx: Bayes Factor Approximation

Description

A function calculates the approximation for bayes factor, when the value of original bayes factor goes to infinity.

Usage

bf.approx(z, param, size, k2, oa2)

Arguments

z

The index for individual(i).

param

Input dataset.

size

Number of replicates(m).

k2

Grid value of \(k^2\).

oa2

Grid value of \(\omega^2\).

Value

Approximation for bayes factor in log scale.