get_precedent_patterns: Find precedent (subset) patterns for monotonicity enforcement

View source: R/sim-utils.R

get_precedent_patternsR Documentation

Find precedent (subset) patterns for monotonicity enforcement

Description

For each attribute mastery pattern, identifies which other patterns are proper subsets (i.e., mastering a subset of the attributes). Used to enforce the GDINA monotonicity constraint: mastering more attributes should never decrease the success probability.

Usage

get_precedent_patterns(patterns)

Arguments

patterns

A binary matrix of attribute mastery patterns (L \times K).

Details

Equivalent to preloclist in the GDINA R package.

Value

A list of length L; the l-th element is an integer vector of row indices corresponding to patterns that are proper subsets of pattern l.


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