Description Usage Arguments Value Examples
Calculate shortest two-sided confidence interval
1 | shortest_CI(x, size = 0.05, inc = 0.001)
|
x |
Vector of simulations from sampling distribution of an estimator. |
size |
One minus the desired coverage probability. |
inc |
Step size for grid over which width is minimized. |
Shortest (1 - size) * 100 percent interval based on the data provided.
1 2 | x <- rnorm(1000)
shortest_CI(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.