eta {ACTCD} | R Documentation |
This function is used to calculate ideal response patterns for all possible attribute profiles based on the DINA model (Junker & Sijtsma, 2001) or conjunctive-type cognitive diagnostic models.
eta(K, J, Q)
K |
The number of attributes. |
J |
The number of items. |
Q |
A required |
A 2^K \times J
binary matrix will be returned. Each row of ideal response patterns is corresponding to each of the 2^K
possible attribute patterns, which can be obtained from alpha
.
Junker, B., & Sijtsma, K. (2001). Cognitive Assessment Models with Few Assumptions, and Connections with Nonparametric Item Response Theory. Applied Psychological Measurement, 25(3), 258-272.
# Generating ideal response patterns
data(sim.Q)
K <- ncol(sim.Q)
J <- nrow(sim.Q)
IRP <- eta(K, J, sim.Q)