Description Usage Arguments Value References Examples
obtains the percentile confidence interval for the mean.
1 | percentciboot(sample, b, alpha = 0.05)
|
sample, |
the original sample. |
b |
an integer the desired numbers of bootstraps. |
alpha |
a number 1 - alpha is the confidence coefficient. |
a list with thata, lower, upper, thetastar
thata is the point estimate.
lower is the lower end of the percentile confidence interval.
upper is the upper end of the percentile confidence interval.
thetastar is the vector of bootstrapped thetastars
Hogg, R. McKean, J. Craig, A. (2018) Introduction to Mathematical Statistics, 8th Ed. Boston: Pearson.
1 2 3 4 | sample <- c(4, 3, 2, 3)
b <- 20
alpha <- .05
percentciboot(sample, b, alpha)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.