bayes_nlg {serieslcb} | R Documentation |
Caclulate a binomal series lower confidence bound using Bayes' method with negative log gamma priors on the components, defined such that the prior on the system is a uniform distribution.
bayes_nlg(s, n, alpha, MonteCarlo, ...)
s |
Vector of successes. |
n |
Vector of sample sizes. |
alpha |
The significance level; to calculate a 100(1- |
MonteCarlo |
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.
bayes_nlg(s=c(35, 97, 59), n=c(35, 100, 60), alpha=.10, MonteCarlo=1000)