Learn R Programming

CoinMinD (version 1.1)

BMDE: Multinomial - Dirichlet (MD) model - Equal Prior - Bayes Methods

Description

This method provides 95 percent simultaneous confidence interval for multinomial proportions based on Bayesian Multinomial Dirichlet model. This method assumes equal values for the Dirichlet prior parameters

Usage

BMDE(x, p)

Arguments

x
x refers to the cell counts of given contingency table corresponding to a categorical data - non negative integers
p
the equal value for the Dirichlet prior parameter - positive real number

Value

lower, upper limits of multinomial proportions together with product of length of k intervals as volume of simultaneous confidence intervals

References

Gelman, A., Carlin, J.B., Stern, H.S., and Rubin, D.B. (2002). Bayesian Data Analysis. Chapman & Hall, London.

See Also

BMDU,FS,QH

Examples

Run this code
y=c(44,55,43,32,67,78)
z=1
BMDE(y,z)

Run the code above in your browser using DataLab