This function computes the predictive posterior density of the outcome of interest under the imprecise Dirichlet prior distribution. It follows a beta-binomial distribution.
Usage
dbetabinom(i, M, x, s, N, tA)
pbetabinom(M, x, s, N, y)
Value
dbetabinom returns a scalar value of density and pdetabinom returns a list of scalars corresponding to the lower and upper probabilities of the distribution.
Arguments
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