Description Usage Arguments Value Author(s) Examples
Computes the parameters and mixing probabilities for a Poisson sampling problem where the prior is a discrete mixture of gamma densities.
1 | poisson.gamma.mix(probs,gammapar,data)
|
probs |
vector of probabilities of the gamma components of the prior |
gammapar |
matrix where each row contains the shape and rate parameters for a gamma component of the prior |
data |
list with components y, vector of counts, and t, vector of time intervals |
probs |
vector of probabilities of the gamma components of the posterior |
gammapar |
matrix where each row contains the shape and rate parameters for a gamma component of the posterior |
Jim Albert
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.