bootstrap_weights | R Documentation |
Compute bootstrap estimates according to Bootstrap Weights procedures by Rao et Al. (1992) and Chipperfield and Preston (2007).
bootstrap_weights(ys, N, B, method = c("RaoWuYue", "ChipperfieldPreston"))
ys |
values of the variable of interest for the original sample |
N |
scalar, representing the population size |
B |
integer scalar, number of bootstrap resamples to draw from the pseudo-population |
method |
a string indicating the bootstrap method to be used; available methods are "RaoWuYue" and "ChipperfieldPreston". |
a list of two elements, a vector of K average bootstrap totals and a vector of K variance estimates.
Rao J. N. K.; Wu C. F. J.; Yue K. (1992). Some recent work on resampling methods for complex surveys. Journal of the American Statistical Association, 83(401), 620-630.
Chipperfield J.; Preston J. (2007).Efficient bootstrap for business surveys. Survey Methodology, 33(2), 167-172.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.