piktfrompik | R Documentation |
This function finds the pikt
from an initial pik
.
piktfrompik(pik, max_iter = 500L, tol = 1e-08)
pik |
A vector of inclusion probabilities. The vector must contains only value that are not integer. |
max_iter |
An integer that specify the maximum iteration in the Newton-Raphson algorithm. Default |
tol |
A scalar that specify the tolerance convergence for the Newton-Raphson algorithm. Default |
The management of probabilities equal to 0 or 1 is done in the cps function.
pikt
is the vector of inclusion probabilities of a Poisson sampling with the right parameter. The vector is found by Newtwon-Raphson algorithm.
More details could be find in Tille (2006).
An updated vector of inclusion probability.
Tille, Y. (2006), Sampling Algorithms, springer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.