Learn R Programming

nonprobsampling (version 0.1.0)

alp_estimate: Estimate step for the ALP estimator

Description

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

Usage

alp_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 ALP 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 ALP estimating equations.