Description Usage Arguments Value Examples
Function from lab 9 that bootstraps samples and calculates confidence intervals
1 | myboot2(iter = 10000, x, fun = "mean", alpha = 0.05)
|
iter |
number of iterations performed |
x |
sample size |
fun |
Type of calculation performed |
alpha |
Confidence interval wanted |
Plot of the bootstrapped sample with labled bounds of the specified confidence interval
1 | ## Not run: set.seed(68); sam=rnorm(20,mean=10,sd=4); myboot2(x=sam,col="yellow")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.