R: Refine the Q-matrix by minimizing the residual sum of square...
Qrefine
R Documentation
Refine the Q-matrix by minimizing the residual sum of square (RSS)
Description
Refine the Q-matrix by minimizing the residual sum of square (RSS) betweenn the real responses and ideal responses. Examinee attribute profiles are estimated using the nonparametric method (plain Hamming) implemented by AlphaNP.
Usage
Qrefine(Y, Q, gate=c("AND", "OR"), max.ite = 50)
Arguments
Y
A matrix of binary responses. Rows represent persons and columns represent items. 1=correct, 0=incorrect.
Q
The Q-matrix of the test. Rows represent items and columns represent attributes. 1=attribute required by the item, 0=attribute not required by the item.
gate
"AND": the examinee needs to possess all attributes required by an item in order to answer it correctly; "OR": the examinee needs to possess only one of the attributes required by an item in order to answer it correctly.
max.ite
The maximum number of iterations allowed.
Value
patterns
All possible attribute profiles. Rows represent different patterns of attribute profiles and columns represent attributes. 1=examinee masters the attribute, 0=examinee does not master the attribute.
initial.Q
The initial Q-matrix. Rows represent items and columns represent attributes. 1=attribute required by the item, 0=attribute not required by the item. This is the preliminary Q-matrix to be refined.
initial.class
The row indices of patterns in the initial estimation of examinee attribute profiles.
terminal.class
The The row indices on patterns in the terminal estimation of examinee attribute profiles after the Q-matrix has been refined.
modified.Q
The modified Q-matrix. Rows represent items and columns represent attributes. 1=attribute required by the item, 0=attribute not required by the item.
modified.entries
The modified q-entries. Column 1 is the item ID of the modified entry; column 2 is the attribute ID of the modified entry.
References
Chiu, C. Y. (2013). Statistical Refinement of the Q-matrix in Cognitive Diagnosis. Applied Psychological Measurement, 37(8), 598-618.