Description Usage Arguments Value References Examples
Approximate the bootstrap distribution for the percentile bootstrap, given a statistic as would be supplied to boot from the boot package.
1 2 3 4 5 6 7 8 9 10 |
data |
the dataframe or data matrix |
statistic |
a function that computes the statistic from data |
B |
the number of bootstrap replicates |
sim |
either "ordinary" (for case resampling bootstrap) or "parametric" (for parametric bootstrap) |
stratified |
whether or not (default) to use the use stratified sampling for the bootstrapping. |
ran.gen |
a function returning a random sample, for the parametric bootstrap |
mle |
the maximum likelihood estimate from the original sample, for the parametric bootstrap |
formula |
for use with interfacing to lm, glm, etc. |
A list containing the sample estimate, bootstrap estimates, and bootstrap CDF for the percentile bootstrap.
Thomas J. DiCiccio and Bradley Efron. "Bootstrap confidence intervals." Statistical Science (1996): 189-212.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.