Description Usage Arguments References See Also Examples
View source: R/bootstrap_balanced.R
A balanced bootstrap generates times
replicates in which each element
appears times
times.
1 | bootstrap_balanced(n, times = 1L)
|
n |
A positive, scalar integer representing the number of observations (items to choose from). |
times |
A positive, scalar integer representing the number of bootstrap samples to draw. |
Gleason, John 1988. "Algorithms for Balanced Bootstrap Simulations". The American Statistician. doi:10.2307/2685134.
Davison, A.C., Hinkley, D. V., and Schechtman, E. 1986. "Efficient Bootstrap Simulation." Biometrika.
Angelo Canty and Brian Ripley (2016). boot: Bootstrap R (S-Plus) Functions. R package version 1.3-18.
The boot function boot::boot()
which is the
canonical R bootstrap implementation.
1 | bootstrap_balanced(20, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.