% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sim.data.FCGDINA.R
\name{compute_fcgdina_item_prob}
\alias{compute_fcgdina_item_prob}
\title{Compute FCGDINA item-level endorsement probabilities}
\usage{
compute_fcgdina_item_prob(
  alpha,
  delta.list,
  design.matrix.list,
  Q.matrix,
  gs = NULL,
  eps = 1e-12,
  link = c("identity", "logit")
)
}
\arguments{
\item{alpha}{\eqn{N \times D} binary matrix of attribute profiles.}

\item{delta.list}{List of per-item delta parameter vectors.}

\item{design.matrix.list}{List of per-item design matrices.}

\item{Q.matrix}{\eqn{I \times D} binary Q-matrix.}

\item{gs}{Optional \eqn{I \times 2} matrix of lower and upper probability
bounds. If supplied, computed probabilities are clamped to
\code{gs[i, 1]} and \code{gs[i, 2]} for item \eqn{i}.}

\item{eps}{Numeric probability clamp used when \code{gs = NULL}. Default
\code{1e-12}.}

\item{link}{Item probability link. \code{"identity"} uses
\eqn{p = X\delta}; \code{"logit"} uses
\eqn{p = \mathrm{logit}^{-1}(X\delta)}. The latter is used by the Stan
FCGDINA backend.}
}
\value{
An \eqn{N \times I} matrix of item endorsement probabilities.
}
\description{
Computes statement endorsement probabilities for supplied attribute
profiles under an FCGDINA item-level CDM parameterization.
}
\details{
The function maps each full attribute pattern in \code{alpha} to the
reduced pattern required by each item-specific Q-vector, evaluates the
corresponding design row, and multiplies by that item's delta vector.
This function does not sample responses.
}
\seealso{
\code{\link{model.FCGDINA}}, \code{\link{sim.data.FCGDINA}}
}
\keyword{internal}
