powered by
Compute the confidence interval for a single proportion based on different methods
single_prop_ci( x, n, method = "all", alternative = "two.sided", conf.level = 0.95, prior = c(1, 1) )
Estimated confidence intervals for the probability of success
number of successes
number of trials
one of these options "all", "clopper.pearson", "wald", "wislon", "wislon.correct", "agresti", or "beta"
indicates "two.sided", "one.sided"
confidence level
the prior values for "beta" method
single_prop_ci(53, 57, method = "all")
Run the code above in your browser using DataLab