Compute the design effect due to unequal weighting.
a numeric vector with weights
The factor is computed acording to 'Weighting for Unequal P_i', Leslie Kish, Journal of Official Statistics, Vol. 8. No. 2, 1992
deff = √ n ∑_j w_j^2 / (∑_j w_j)^2
The function will return the the kish factor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.