var_Brewer_class3: Approximate Variance Estimators by Brewer (2002)

View source: R/varEst_class3.R

var_Brewer_class3R Documentation

Approximate Variance Estimators by Brewer (2002)

Description

Compute an approximate variance estimate using the class of estimators proposed by Brewer (2002). Estimators of class 3, they require only first-order inclusion probabilities but for all population units.

Usage

var_Brewer_class3(y, pik, method, sample)

Arguments

y

numeric vector of sample observations

pik

numeric vector of first-order inclusion probabilities for all population units

method

string indicating the desired approximate variance estimator. One of "Deville1", "Deville2", "Deville3", "Hajek", "Rosen", "FixedPoint", "Brewer1", "HartleyRao", "Berger", "Tille", "MateiTille1", "MateiTille2", "MateiTille3", "MateiTille4", "MateiTille5", "Brewer2", "Brewer3", "Brewer4".

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 pik, indicating which units belong to the sample (TRUE if the unit is in the sample, FALSE otherwise. Only used with estimators of the third class (see Details for more information).

Value

a scalar, the estimated variance


UPSvarApprox documentation built on Aug. 27, 2023, 9:06 a.m.