% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/estpw_s5_one.R
\name{ipwm_one_build}
\alias{ipwm_one_build}
\title{Dispatch one-reference pseudo-weight estimation}
\usage{
ipwm_one_build(
  sc,
  sp,
  sp_des,
  vars = NULL,
  weight,
  method,
  control,
  verbose = FALSE,
  log_messages = NULL
)
}
\arguments{
\item{sc}{Data frame. The nonprobability sample.}

\item{sp}{Data frame. The single probability reference sample (already
NA-processed and p_formula-processed).}

\item{sp_des}{A `survey.design2` or `svyrep.design` object for `sp`.}

\item{vars}{Character vector of predictor variable names to use in the
participation model design matrices.}

\item{weight}{Character scalar. Name of the survey-weight column in `sp`.}

\item{method}{Character scalar. One of `"alp"`, `"clw"`, `"calibration"`,
or `"cali"`.}

\item{control}{A list created by `pw_solver_control()`.}

\item{verbose}{Logical. If `TRUE`, progress messages are printed.}

\item{log_messages}{Character vector of messages accumulated in earlier
steps, forwarded into the returned object.}
}
\value{
A list with components:
  \item{pseudo_weights}{Numeric vector of estimated pseudo-weights for `sc`.}
  \item{coefficients}{Named numeric vector of participation model coefficients.}
  \item{method}{Character scalar identifying the method used.}
  \item{solver_diagnostics}{List of solver convergence diagnostics.}
  \item{internal}{List of intermediate objects (design matrices, fitted
    probabilities, sandwich components) needed by the estimation stage.}
}
\description{
Dispatch one-reference pseudo-weight estimation
}
\keyword{internal}
