% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sim-utils.R
\name{forced_choice_from_agree}
\alias{forced_choice_from_agree}
\title{Compute forced-choice pattern probabilities from item endorsement probabilities}
\usage{
forced_choice_from_agree(agree, patterns.total, patterns)
}
\arguments{
\item{agree}{An \eqn{N \times I} matrix of item endorsement probabilities.}

\item{patterns.total}{List of full-ranking pattern matrices (one per block).}

\item{patterns}{List of observed-pattern matrices (one per block).}
}
\value{
An \eqn{N \times \sum_B P_b} matrix of forced-choice pattern
probabilities, where \eqn{P_b} is the number of observed patterns for
block \eqn{b}.
}
\description{
Transforms item-level endorsement probabilities into block-level ranking
pattern probabilities via the sequential Luce/Plackett choice rule.
This is an R implementation of the C++ \code{forced_choice_from_agree}
function used by \code{cpp_model_FCMIRT} and \code{cpp_model_FCGGUM}.
}
\keyword{internal}
