piktfrompik {StratifiedSampling} | R Documentation |
pikt from pik
Description
This function finds the pikt
from an initial pik
.
Usage
piktfrompik(pik, max_iter = 500L, tol = 1e-08)
Arguments
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 |
Details
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).
Value
An updated vector of inclusion probability.
References
Tille, Y. (2006), Sampling Algorithms, springer
[Package StratifiedSampling version 0.4.2 Index]