Description Usage Arguments Value Author(s) References See Also Examples
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
1 | BMDE(x, p)
|
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 |
lower, upper limits of multinomial proportions together with product of length of k intervals as volume of simultaneous confidence intervals
Dr M Subbiah
Gelman, A., Carlin, J.B., Stern, H.S., and Rubin, D.B. (2002). Bayesian Data Analysis. Chapman & Hall, London.
1 2 3 |
Loading required package: MCMCpack
Loading required package: coda
Loading required package: MASS
##
## Markov Chain Monte Carlo Package (MCMCpack)
## Copyright (C) 2003-2019 Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park
##
## Support provided by the U.S. National Science Foundation
## (Grants SES-0350646 and SES-0350613)
##
Mean
[1] 0.1387 0.1721 0.1355 0.1014 0.2094 0.2429
Lower Limit
[1] 0.1036 0.1335 0.1008 0.0708 0.1675 0.1982
Upper Limit
[1] 0.1787 0.2145 0.1750 0.1370 0.2561 0.2909
Volume
[1] 2.454145e-07
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.