Skip to contents

Difference of prior-normalised log probabilities.

Usage

morie_kamath_ch6_lpbs_bias(p_a, p_prior)

Arguments

p_a, p_prior

Two-entry probability vectors in (0, 1].

Value

List with estimate, normalised_log_i, normalised_log_j.

Examples

morie_kamath_ch6_lpbs_bias(c(0.6, 0.4), c(0.5, 0.5))
#> $estimate
#> [1] 0.4054651
#> 
#> $normalised_log_i
#> [1] 0.1823216
#> 
#> $normalised_log_j
#> [1] -0.2231436
#> 
#> $n
#> [1] 2
#> 
#> $method
#> [1] "Log-Probability Bias Score (Kamath Eq 6.8)"
#>