boot_test {mbir} | R Documentation |
Bootstrap Confidence Intervals via Resampling
Description
Provides nonparametric confidence intervals via percentile-based resampling.
Usage
boot_test(x, y, conf.int, resample, med)
Arguments
x , y |
numeric vectors of data values |
conf.int |
(optional) confidence level of the interval. Defaults to |
resample |
(optional) number of resamples. Defaults to 10,000 |
med |
(optional) number indicating true difference in medians to test against. Defaults to zero. |
Details
Refer to vignette for further information.
Examples
require(graphics)
a <- rnorm(25, 80, 35)
b <- rnorm(25, 100, 50)
boot_test(a, b, 0.95, 10000)
[Package mbir version 1.3.5 Index]