get.Mmatrix {Qval} | R Documentation |
Calculate \mathbf{M}
matrix
Description
Calculate \mathbf{M}
matrix for saturated CDMs (de la Torre, 2011). The \mathbf{M}
matrix is a matrix used to
represent the interaction mechanisms between attributes.
Usage
get.Mmatrix(K = NULL, pattern = NULL)
Arguments
K |
The number of attributes. Can be |
pattern |
The attribute mastery pattern matrix containing all possible attribute mastery pattern.
Can be gained from |
Value
An object of class matrix
.
Author(s)
Haijiang Qin <Haijiang133@outlook.com>
References
de la Torre, J. (2011). The Generalized DINA Model Framework. Psychometrika, 76(2), 179-199. DOI: 10.1007/s11336-011-9207-7.
Examples
library(Qval)
Mmatrix <- get.Mmatrix(K = 3)
print(Mmatrix)
[Package Qval version 1.2.3 Index]