Description Usage Arguments Details Value Note Examples
Density, distribution function, quantile function and random generation for the posterior predictive distribution of the count in the treated group.
1 2 3 4 5 6 7 8 9 |
xnew,q |
vector of non-negative integer quantiles |
a |
non-negative shape parameter of the Gamma prior distribution on the rate μ |
c,d |
non-negative shape parameters of the prior distribution on φ |
x,y |
counts (integer) in the treated group and control group of the observed experiment |
S,Snew |
sample sizes of the treated group in the observed experiment and the predicted experiment |
p |
vector of probabilities |
n |
number of observations to be simulated |
... |
arguments passed to |
The posterior predictive distribution of the count in the treated group is a
Poisson-Gamma-Inverse Beta distribution
.
dpost_x
gives the density, ppost_x
the distribution function,
qpost_x
the quantile function, rpost_x
samples from the distribution,
and spost_x
gives a summary of the distribution.
Post_x
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.