BC_normal_total {si4bayesmeta}R Documentation

Bhattacharyya coefficient between two normal densities

Description

Computes the total Bhattacharyya coefficient between two normal densities with means m1 and m0 and standard deviations sd1 and sd0

Usage

BC_normal_total(m1, sd1, m0, sd0)

Arguments

m1

mean of the fist normal density

sd1

standard deviation of the first normal density

m0

mean of the second normal density

sd0

standard deviation of the second normal density

Details

BC is a symmetric measure of affinity (Roos et al., 2015).

BC(π_b(ψ | y), π_a(ψ | y)) = \int_{-∞}^{∞} √{π_b(ψ | y) π_a(ψ | y)} d ψ.

The total BC is the product of the mean part BC and the sd-part BC.

Value

A numeric value between 0 and 1.

References

Roos, M., Martins, T., Held, L., Rue, H. (2015). Sensitivity analysis for Bayesian hierarchical models. Bayesian Analysis 10(2), 321-349. https://projecteuclid.org/euclid.ba/1422884977

See Also

BC_normal_m1m0, BC_normal_sd1sd0

Examples

BC_normal_m1m0(m1=0.4, sd1=0.3, m0=0.42, sd0=0.32)

[Package si4bayesmeta version 0.1-1 Index]