Description Usage Arguments Details Value Note Examples
Density and random generation
for the Poisson-Gamma-Beta2 distribution
with shape parameters a
, c
, d
and hyperrate parameter tau
(scale of the Beta2 distribution).
For tau=1
this is the same as the Beta-negative binomial distribution.
1 2 3 4 5 6 7 8 9 |
x,q |
vector of non-negative integer quantiles |
a,c,d |
non-negative shape parameters |
tau |
non-negative hyperrate parameter |
p |
vector of probabilities |
n |
number of observations to be sampled |
output |
type of the |
This is the mixture distribution obtained by sampling a value y from the Beta2 distribution with shape parameters c, d, and scale τ, then sampling a value λ from the Gamma distribution with shape a and rate y, and then sampling the Poisson distribution with mean λ.
dPGB2
gives the density, pPGB2
the cumulative function,
rPGB2
samples from the distribution, and summary_PGB2
gives
a summary of the distribution.
PGB2Dist
is a generic name for the functions documented.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.