Description Usage Arguments Details Value Note Examples
Density and random generation for the Poisson-Gamma-Inverse Beta distribution
with shape parameters a
, c
, d
and scale parameter rho
.
1 2 3 4 5 6 7 8 9 |
x,q |
vector of integer quantiles |
a |
non-negative shape parameter of the Gamma distribution |
alpha,beta |
non-negative shape parameters of the mixing Beta distribution |
rho |
hyperrate parameter (rate of the mixing distribution) |
p |
vector of probabilities |
n |
number of observations to be simulated |
output |
type of the |
... |
arguments passed to |
This is the mixture distribution obtained by sampling a value from a Gamma-Inverse Beta distribution and then sampling from a Poisson distribution having this value as mean.
dPGIB
gives the density, rPGIB
samples from the distribution,
and summary_PGIB
gives a summary of the distribution.
PGIBDist
is a generic name for the functions documented.
1 2 | barplot(dPGIB(0:5, a=13, alpha=4, beta=2, rho=2.5), names=0:5)
summary_PGIB(13, 4, 2, 2.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.