Learn R Programming

nonprobsampling (version 0.1.0)

multi_estimate: Estimate step for multi-reference raking

Description

Computes the domain-specific pseudo-weighted Hájek mean and its Taylor-linearized variance for the multi-reference raking estimator.

Usage

multi_estimate(Y, Z, w, X, D, S_beta)

Value

A list with components `mean` and `variance`.

Arguments

Y

Outcome vector for the nonprobability sample.

Z

Domain indicator vector. Use `rep(1, length(Y))` for the overall mean.

w

Estimated pseudo-weights from the multi-reference raking build step.

X

Design matrix for the nonprobability sample.

D

Block-diagonal design-based variance-covariance matrix of the estimated auxiliary totals from the reference surveys.

S_beta

Sensitivity matrix for the multi-reference raking estimating equations, typically t(w * X) %*% X.