% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pwmean_s1_check_inputs.R
\name{check_ipwm_inputs_estimate}
\alias{check_ipwm_inputs_estimate}
\title{Validate inputs at the estimation stage}
\usage{
check_ipwm_inputs_estimate(build, y, zcol = NULL)
}
\arguments{
\item{build}{A `pw_fit` object returned by the build step.}

\item{y}{Single character string naming the numeric or categorical outcome
variable in `build$internal$raw_sc`.}

\item{zcol}{Single character string naming the domain variable in
`build$internal$raw_sc`, or NULL for the overall mean.}
}
\value{
`invisible(TRUE)` on success; stops with an informative message
  on failure.
}
\description{
Checks that `build` is a valid `pw_fit` object with all required internal
fields, that `y` names a numeric or factor column in the raw convenience
sample, and
that `zcol` (if supplied) is a supported domain variable with at least two
non-missing levels in both the full sample and the build-stage complete cases.
}
\keyword{internal}
