powered by
This function implements a method to select a sample using the Deville's systmatic algorithm.
sys_deville(pik)
Return the selected indices in 1,2,...,N
A vector of inclusion probabilities.
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)
Run the code above in your browser using DataLab