probCI | R Documentation |
Calculates the confidence interval around a vector of probabilities using the quantiles based on the specified significance level.
probCI(probabilities, alpha=0.05)
probabilities |
A numeric vector of probabilities for which the confidence interval is desired. |
alpha |
The significance level used for constructing the confidence interval; default is 0.05. |
A list containing the lower and upper bounds of the confidence intervals for each probability.
probabilities <- c(0.1, 0.2, 0.3, 0.4, 0.5)
probCI(probabilities)
probCI(probabilities, alpha = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.