qfromw | R Documentation |
This function finds the matrix q
form a particular w
.
qfromw(w, n)
w |
A vector of weights. |
n |
An integer that is equal to the sum of the inclusion probabilities. |
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).
A matrix of size N
x n
, where N
is equal to the length of the vector w
.
Tille, Y. (2006), Sampling Algorithms, springer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.