Learn R Programming

nonprobsampling (version 0.1.0)

clw_estimate: Estimate step for the CLW estimator

Description

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

Usage

clw_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 CLW build step.

X

Design matrix for the nonprobability sample.

D

Design-based variance-covariance matrix of the estimated auxiliary totals from the reference survey.

S_beta

Sensitivity matrix for the CLW estimating equations.