D_BCL: The location (L) part of the Bhattacharyya coefficient (BC)...

View source: R/D_BCL.R

D_BCLR Documentation

The location (L) part of the Bhattacharyya coefficient (BC) between two normal densities

Description

Computes the Bhattacharyya coefficient (the location-part) between two normal densities with means mb and mw and standard deviations sdb and sdw.

Usage

D_BCL(mb, sdb, mw, sdw)

Arguments

mb

mean of the first (base) normal density

sdb

standard deviation of the first (base) normal density

mw

mean of the second (weighted) normal density

sdw

standard deviation of the second (weighted) normal density

Details

The function returns the location (L) part of the BC under normal approximation. The L part is adjusted for standard deviations which corresponds to the Mahalanobis distance.

Value

A numeric value

References

Roos, M., Hunanyan, S., Bakka, H., Rue, H. (2021). Sensitivity and identification quantification by a relative latent model complexity perturbation in the Bayesian meta-analysis. Biometrical Journal. URL https://doi.org/10.1002/bimj.202000193

See Also

D_H2, D_BCS

Examples

D_BCL(mb=0.4, sdb=0.3, mw=0.42, sdw=0.32)

hunansona/ed4bhm documentation built on June 15, 2022, 6:42 p.m.