View source: R/varEst_class3.R
var_Berger | R Documentation |
Compute the Berger approximate variance estimator (Berger, 1998) Estimator of class 3, it requires only first-order inclusion probabilities but for all population units.
var_Berger(y, pik, sample)
y |
numeric vector of sample observations |
pik |
numeric vector of first-order inclusion probabilities for all population units |
sample |
Either a numeric vector of length equal to the sample size with
the indices of sample units, or a boolean vector of the same length of |
a scalar, the estimated variance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.