bhatt.coeff {dispRity} | R Documentation |
Bhattacharyya Coefficient
Description
Calculates the probability of overlap between two distributions.
Usage
bhatt.coeff(x, y, bw = bw.nrd0, ...)
Arguments
x , y |
two distributions. |
bw |
the bandwidth size, either a |
... |
optional arguments to be passed to the |
Author(s)
Thomas Guillerme
References
Bhattacharyya A. 1943. On a measure of divergence between two statistical populations defined by their probability distributions. Bull. Calcutta Math. Soc., 35, pp. 99-109
See Also
Examples
## Two dummy distributions
x <- rnorm(1000, 0, 1)
y <- rnorm(1000, 1, 2)
## What is the probability of overlap of these distributions?
bhatt.coeff(x, y)
[Package dispRity version 1.8 Index]