forced_choice_from_agree: Compute forced-choice pattern probabilities from item...

View source: R/sim-utils.R

forced_choice_from_agreeR Documentation

Compute forced-choice pattern probabilities from item endorsement probabilities

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++ forced_choice_from_agree function used by cpp_model_FCMIRT and cpp_model_FCGGUM.

Usage

forced_choice_from_agree(agree, patterns.total, patterns)

Arguments

agree

An N \times I matrix of item endorsement probabilities.

patterns.total

List of full-ranking pattern matrices (one per block).

patterns

List of observed-pattern matrices (one per block).

Value

An N \times \sum_B P_b matrix of forced-choice pattern probabilities, where P_b is the number of observed patterns for block b.


ForceChoice documentation built on Sept. 13, 2026, 1:06 a.m.