Description Usage Arguments Details Value Note Examples
Density, distribution function, quantile function and random generation for the prior predictive distribution of the count in the treated group.
1 2 3 4 5 6 7 8 9 |
x,q |
vector of non-negative integer quantiles |
a,b |
non-negative shape parameter and rate parameter of the Gamma prior distribution on the rate μ |
c,d |
non-negative shape parameters of the prior distribution on φ |
T |
sample size of the control group |
p |
vector of probabilities |
n |
number of observations to be simulated |
... |
passed to |
The prior predictive distribution of the count x is the
Poisson-Gamma-Beta2 distribution
with shape parameters a, d, c,
and hyperrate parameter b/(b+T).
dprior_x
gives the density, pprior_x
the distribution function,
qprior_x
the quantile function, rprior_x
samples from the distribution,
and sprior_x
gives a summary of the distribution.
Prior_x
is a generic name for the functions documented.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.