| dbetabinom | R Documentation | 
This function computes the predictive posterior density of the outcome of interest under the imprecise Dirichlet prior distribution. It follows a beta-binomial distribution.
dbetabinom(i, M, x, s, N, tA) pbetabinom(M, x, s, N, y)
| i | number of occurrences of event A in the M future trials | 
| M | number of future trials | 
| x | number of occurrence of event A in the N previous trials | 
| s | learning parameter | 
| N | total number of previous trials | 
| tA | prior probability of event A under the Dirichlet prior | 
| y | maximum number of occurrences of event A in the M future trials | 
dbetabinom returns a scalar value of density and pdetabinom returns a list of scalars corresponding to the lower and upper probabilities of the distribution.
pbetabinom(M=6, x=1, s=1, N=6, y=0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.