idm returns a list of lower and upper probabilities.
p.lower
Minimum of imprecise probabilities
p.upper
Maximum of imprecise probabilities
v.lower
Variance of lower bound
v.upper
Variance of upper bound
s.lower
Standard deviation of lower bound
s.upper
Standard deviation of upper bound
p
Precise probabilty
p.delta
Degree of imprecision
hpd gives a list of scalar values corresponding to the lower and upper bounds of highest posterior probability density region.
Arguments
nj
number of observations in the j th category
s
learning parameter
N
total number of drawings
tj
mean probability associated with the j th category
k
number of elements in the sample space
cA
the number of elements in the event A
alpha
shape1 parameter of beta distribution
beta
shape2 parameter of beta distribution
p
level of credible interval
tolerance
level of error allowed
maxiter
maximum number of iterations
verbose
logical option suppressing messages
References
Walley, P. (1996), Inferences from Multinomial Data: Learning About a Bag of Marbles. Journal of the Royal Statistical Society: Series B (Methodological), 58: 3-34. https://doi.org/10.1111/j.2517-6161.1996.tb02065.x