Description Usage Arguments Details Value Author(s) See Also Examples
Given two hyperdirichlet distributions, “add” them, in the sense of concatenating their information, assumed to be independent.
1 |
e1,e2 |
Hyperdirichlet distributions of the same dimension |
assume_validated |
Boolean, with default |
Think of this function as a computerized embodiment of Bayes's theorem
with e1
representing the prior and e2
representing one
or more informative trials.
The basic guts of the function is hyperdirichlet(powers(e1) +
params(e2))
. Note that this is equivalent to
hyperdirichlet(params(e1) + powers(e2))
.
The functional form is not really intended for the end user; use
e1 + e2
instead (but observe that the sum will be validated
using is.proper()
, which may take a long time).
Returns a hyperdirichlet distribution
Robin K. S. Hankin
hyperdirichlet
,is.proper
,Arith
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.