View source: R/pseudo_population.R
ppBS_ups | R Documentation |
Pseudo-population bootstrap for simple random sampling
ppBS_ups(y, pik, B, D = 1, method, smplFUN, x = NULL, s = NULL)
y |
vector of sample values |
pik |
vector of sample first-order inclusion probabilities |
B |
scalar, number of bootstrap replications |
D |
scalar, number of replications for the double bootstrap |
method |
a string indicating the bootstrap method to be used, available methods are: 'Gross', 'Booth', 'ChaoLo85', 'ChaoLo94', 'BickelFreedman', 'Sitter' |
smplFUN |
a function that takes as input a vector of length N of
inclusion probabilities and return a vector of length N, either logical or a
vector of 0s and 1s, where |
x |
vector of length N with values of the auxiliary variable for all population units, only required if method "HotDeck" is chosen |
s |
logical vector of length N, TRUE for units in the sample, FALSE otherwise. Alternatively, a vector of length n with the indices of the sample units. Only required for "HotDeck" method. |
Mashreghi Z.; Haziza D.; Léger C., 2016. A survey of bootstrap methods in finite population sampling. Statistics Surveys 10 1-52.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.