Approximate Bayesian tail confidence interval for an odds ratio using simulation method
orci.bayes(x1,n1,x2,n2,a,b,c,d,conf.level, nsim)
Binomial variate group 1
Sample size group 1
Binomial variate group 2
Sample size group 2
beta prior for x1
beta prior for x2
beta prior for n1
beta prior for n2
confidence level
number of simulations with default 10M
Confidence interval for an odds ratio with given confidence level.
Agresti, A. (2002) Categorical Data Analysis. Wiley, 2nd Edition.