Description Usage Arguments Details Value
Compute the p-metric between two probability distributions.
1 2 | ## S4 method for signature 'Distribution,Distribution'
pMetric(p1, p2, p)
|
p1, p2 |
|
p |
An atomic numeric greater than or equal to 1 that determines the power of the norm. |
Let p1
and p2
denote the vectors of probability mass assigned
by two distributions defined on the same state space. Then, the p-metric
between p1
and p2
is given by (sum(abs(p1 - p2)^p))^(1/p)
.
The p-metric between distributions p1
and p2
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.