sys_deville | R Documentation |
This function implements a method to select a sample using the Deville's systmatic algorithm.
sys_deville(pik)
pik |
A vector of inclusion probabilities. |
Return the selected indices in 1,2,...,N
Deville, J.-C. (1998), Une nouvelle méthode de tirage à probabilité inégales. Technical Report 9804, Ensai, France.
Chauvet, G. (2012), On a characterization of ordered pivotal sampling, Bernoulli, 18(4):1320-1340
set.seed(1)
pik <- c(0.2,0.5,0.3,0.4,0.9,0.8,0.5,0.4)
sys_deville(pik)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.