Description Usage Arguments Value References
View source: R/diffci.bayes.hpd.R
Approximate Bayesian HPD confidence interval for different of proportions using independent priors
1 | diffci.bayes.hpd(x1,n1,x2,n2,a,b,c,d,conf.level)
|
x1 |
Binomial variate group 1 |
n1 |
Sample size group 1 |
x2 |
Binomial variate group 2 |
n2 |
Sample size group 2 |
a |
beta prior for x1 |
b |
beta prior for x2 |
c |
beta prior for n1 |
d |
beta prior for n2 |
conf.level |
confidence level |
Confidence interval with given confidence level.
Agresti, A. (2002) Categorical Data Analysis. Wiley, 2nd Edition.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.