bhatt.coeff | R Documentation |
Calculates the probability of overlap between two distributions.
bhatt.coeff(x, y, bw = bw.nrd0, ...)
x , y |
two distributions. |
bw |
the bandwidth size, either a |
... |
optional arguments to be passed to the |
Thomas Guillerme
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
test.dispRity
, null.test
.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.