Description Usage Arguments Value Examples
Bayesian bootstrap
1 |
data |
the original sample, as a vector, matrix or dataframe |
FUN |
a function to calculate an estimate of the parameter of interest |
B |
the number of bootstrap replications |
a list consisting of
replicates |
a matrix containing an estimate for the parameter of interest of each bootstrap replicate |
se |
the standard error(s) of the parameter estimates |
1 2 3 | X <- rnorm(100, 4, 2)
BB_mean <- BB(X, weighted.mean, B=10000)
BB_mean$se
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.