one_one {bootstrapFP} | R Documentation |
Select a one-one sampling
Description
A one-one sampling is a design for which the random variables Sk, representing the number of times unit k is included in the sample, have expectation and variance equal to 1. Proposed by Antal and Tille' (2011, 2014).
Usage
one_one(n, method = c("doubled-half", "over-replacement"))
Arguments
n |
integer, the sample size |
method |
algorithm to be used, either doubled half sampling or srs with over-replacement. See the Details section. |
Details
Antal and Tillé proposed two procedures that lead to one-one samplings.
The first one (Antal and Tillé, 2011a) in more complex and makes use of a simple
random Sampling with over-replacement (Antal and Tillé, 2011b),
and it is called by setting method = "over-replacement"
.
The second one (Antal and Tillé, 2014) is the doubled half sampling, which is
simpler and quickier to compute, and can employed by setting
method = "doubled-half"
; this is the default option.
Value
an integer vector of size n
, indicating how many times each unit is
present in the sample