powered by
This function finds the matrix q form a particular w.
q
w
qfromw(w, n)
A matrix of size N x n, where N is equal to the length of the vector w.
N
n
A vector of weights.
An integer that is equal to the sum of the inclusion probabilities.
Raphaël Jauslin raphael.jauslin@unine.ch
w is generally computed by the formula pik/(1-pik), where n is equal to the sum of the vector pik. More details could be find in Tille (2006).
pik/(1-pik)
pik
Tille, Y. (2006), Sampling Algorithms, springer