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 control group.
1 2 3 4 5 6 7 8 9 |
ynew,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 φ |
x,y |
counts (integer) in the treated group and control group of the observed experiment |
T,Tnew |
sample sizes of the control 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_y
gives the density, ppost_y
the distribution function,
qpost_y
the quantile function, rpost_y
samples from the distribution,
and spost_y
gives a summary of the distribution.
Post_y
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.