powered by
Calculate a binomial series lower confidence bound using Bayes' method with Jeffrey's prior.
bayes_jeffreys(s, n, alpha, MonteCarlo, ...)
Vector of successes.
Vector of sample sizes.
The significance level; to calculate a 100(1-\(\alpha\))% lower confidence bound.
Number of samples to draw from the posterior distribution for the Monte Carlo estimate.
Additional arguments to be ignored.
The 100(1-\(\alpha\))% lower confidence bound.
# NOT RUN { bayes_jeffreys(s=c(35, 97, 59), n=c(35, 100, 60), alpha=.10, MonteCarlo=1000) # }
Run the code above in your browser using DataLab