Description Usage Arguments Value
Empirical Bayes Power Prior for Binomial Data
1 2 | binom.PP.EB(x, n, X, N, verbose = FALSE, mc.cores = 1, p.prior.a = 1,
p.prior.b = 1)
|
x |
number of historical successes |
n |
number historical patients |
X |
vector of new successes to computer prior for |
N |
number of new patients |
verbose |
TRUE |
mc.cores |
number of cores for parallel |
p.prior.a |
shape1 parameter of initial beta prior for successes |
p.prior.b |
shape2 parameter of initial beta prior for successes |
A function of the probability parmater p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.