% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pwmean_s4_clw.R
\name{clw_estimate}
\alias{clw_estimate}
\title{Estimate step for the CLW estimator}
\usage{
clw_estimate(Y, Z, w, X, D, S_beta)
}
\arguments{
\item{Y}{Outcome vector for the nonprobability sample.}

\item{Z}{Domain indicator vector. Use `rep(1, length(Y))` for the
overall mean.}

\item{w}{Estimated pseudo-weights from the CLW build step.}

\item{X}{Design matrix for the nonprobability sample.}

\item{D}{Design-based variance-covariance matrix of the estimated
auxiliary totals from the reference survey.}

\item{S_beta}{Sensitivity matrix for the CLW estimating equations.}
}
\value{
A list with components `mean` and `variance`.
}
\description{
Computes the domain-specific pseudo-weighted Hájek mean and its
Taylor-linearized variance for the CLW estimator.
}
\keyword{internal}
