Computes the domain-specific pseudo-weighted Hájek mean and its Taylor-linearized variance for the raking-ratio calibration estimator.
raking_estimate(Y, Z, w, X, D, S_beta)A list with components `mean` and `variance`.
Outcome vector for the nonprobability sample.
Domain indicator vector. Use `rep(1, length(Y))` for the overall mean.
Estimated pseudo-weights from the calibration build step.
Calibration design matrix for the nonprobability sample.
Design-based variance-covariance matrix of the estimated auxiliary totals from the reference survey or surveys. For multiple reference surveys, this is block diagonal.
Sensitivity matrix for the calibration estimating equations,
typically t(w * X) %*% X for raking-ratio calibration.