Description Usage Arguments Value
Implements the bag of little bootstraps algorithm (Kleiner et al., 2014). Splits the dataset and calculates the weighted QOI on each partition, also calculates alpha_1 and alpha_2
1 |
x |
Dataset partition |
statistic |
Function that calculates quantity of interest |
metric |
Summary metric (default is mean and variance) |
B |
Number of bootstrap simulations |
N |
Dataset n-size |
lambda |
Bounding parameter for the QOI |
... |
Parameters required for |
Returns a list:
metrics |
Summary metric across bootstraps: default is mean and variance |
a_2 |
Proportion of bootstrapped QOIs that are above lambda |
a_1 |
Proportion of bootstrapped QOIs that are above -lambda |
res |
Vector of B bootstrapped QOIs |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.