predp | R Documentation |
Calculate predicative probability density
predp(x, n, nmax, p0, a, b)
x |
number of respond |
n |
number of subjects already enrolled |
nmax |
max number of subjects to be enrolled |
p0 |
hypothesized response rate |
a , b |
beta priors |
a tibble
predp(x = 3, n = 10, nmax = 30, p0 = 0.3, a = 1, b = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.