Learn R Programming

gustave (version 0.3.0)

var_pois: Variance estimator for a Poisson sampling design

Description

var_pois estimates the variance of the estimator of a total for a Poisson sampling design.

Usage

var_pois(y, pik, w = NULL)

Arguments

y

A numerical matrix of the variable(s) whose variance of their total is to be estimated. May be a Matrix::TsparseMatrix.

pik

A numerical vector of first-order inclusion probabilities.

w

An optional numerical vector of row weights (see Details).

Value

The estimated variances as a numerical vector of size the number of columns of y.

Details

w is a row weight used at the final summation step. It is useful when var_pois is used on the second stage of a two-stage sampling design applying the Rao (1975) formula.

References

Rao, J.N.K (1975), "Unbiased variance estimation for multistage designs", Sankhya, C n<U+00B0>37