% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_B.R
\name{.get_B_gee_glm}
\alias{.get_B_gee_glm}
\title{Path 1b: Non-Gaussian GEE (Damped SQP with Full Whitened Design)}
\usage{
.get_B_gee_glm(
  X_block,
  X_tilde,
  y_block,
  y_tilde,
  VhalfInv_perm,
  Lambda_block,
  A,
  K,
  p_expansions,
  constraint_value_vectors,
  family,
  return_G_getB,
  iterate,
  tol,
  qp_Amat,
  qp_bvec,
  qp_meq,
  qp_score_function,
  order_list,
  observation_weights,
  glm_weight_function,
  schur_correction_function,
  need_dispersion_for_estimation,
  dispersion_function,
  VhalfInv,
  ...
)
}
\arguments{
\item{X_block}{Full \eqn{N \times P} unwhitened block-diagonal design.}

\item{X_tilde}{Whitened design \eqn{\mathbf{V}^{-1/2}\mathbf{X}}.}

\item{y_block}{Unwhitened response vector \eqn{\mathbf{y}}.}

\item{y_tilde}{Whitened response \eqn{\mathbf{V}^{-1/2}\mathbf{y}}.}

\item{VhalfInv_perm}{\eqn{\mathbf{V}^{-1/2}} permuted to partition
ordering.}

\item{Lambda_block}{Full \eqn{P \times P} block-diagonal penalty.}

\item{A}{Constraint matrix (\eqn{P \times R}).}

\item{K, p_expansions}{Integer dimensions.}

\item{constraint_value_vectors}{Constraint RHS list encoding
\eqn{\mathbf{A}^{\top}\boldsymbol{\beta} = \mathbf{c}}.}

\item{family}{GLM family object.}

\item{return_G_getB}{Logical; return covariance components.}

\item{iterate}{Logical; if \code{TRUE}, iterate until convergence.}

\item{tol}{Convergence tolerance.}

\item{qp_Amat, qp_bvec, qp_meq}{QP constraint specification.}

\item{qp_score_function}{Score function for QP step.}

\item{order_list, observation_weights}{Standard partition arguments.}

\item{glm_weight_function}{Function computing GLM working weights.}

\item{schur_correction_function}{Function computing Schur corrections.}

\item{need_dispersion_for_estimation}{Logical.}

\item{dispersion_function}{Dispersion estimation function.}

\item{VhalfInv}{Inverse square root correlation matrix.}

\item{...}{Passed to weight, correction, dispersion, and score functions.}
}
\value{
Same structure as \code{.get_B_gee_gaussian}.
}
\description{
Estimates constrained coefficients for non-Gaussian GLMs with correlation
structures using damped Sequential Quadratic Programming (SQP) in the
full \eqn{P}-dimensional whitened space. The whitened design
\eqn{\mathbf{X}^{*} = \mathbf{V}^{-1/2}\mathbf{X}} is required
because \eqn{\mathbf{V}^{-1/2}} couples all partitions.
}
\keyword{internal}
