Description Usage Arguments Details Value See Also
Compute the Bhattacharya distance 1 or the Bhattacharya distance 2 between two probability distributions.
1 2 3 4 5 | ## S4 method for signature 'Distribution,Distribution'
Bhattacharya1(p1, p2)
## S4 method for signature 'Distribution,Distribution'
Bhattacharya2(p1, p2)
|
p1, p2 |
|
Let p1
and p2
denote the vectors of probability mass assigned
by two distributions defined on the same state space. Let rho(p1, p2)
denote the fidelity similarity between p1
and p2
. Then, the
Bhattacharya distance 1 between p1
and p2
is given by
acos(rho(p1, p2))^2
; the Bhattacharya distance 2 between p1
and p2
is given by -log(rho(p1, p2))
.
A Bhattacharya distance between distributions p1
and p2
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.