ciBA(n, alp, a, b)p of the binomial distribution so that the posterior
is \(\beta(xi + ai, n - xi + bi)\).prop.test and binom.test for equivalent base Stats R functionality,
binom.confint provides similar functionality for 11 methods,
wald2ci which provides multiple functions for CI calculation ,
binom.blaker.limits which calculates Blaker CI which is not covered here and
propCI which provides similar functionality.Other Basic methods of CI estimation: PlotciAS,
PlotciAllg, PlotciAll,
PlotciBA, PlotciEX,
PlotciLR, PlotciLT,
PlotciSC, PlotciTW,
PlotciWD, ciAS,
ciAll, ciEX,
ciLR, ciLT,
ciSC, ciTW,
ciWD
n=5; alp=0.05; a=0.5;b=0.5;
ciBA(n,alp,a,b)
n=5; alp=0.05; a=c(0.5,2,1,1,2,0.5);b=c(0.5,2,1,1,2,0.5)
ciBA(n,alp,a,b)
Run the code above in your browser using DataLab