get.Rmatrix {Qval} | R Documentation |
Restriction Matrix
Description
This function returns the restriction matrix (de la Torre, 2011; Ma & de la Torre, 2020) based on two q-vectors, where the two q-vectors can only differ by one attribute.
Usage
get.Rmatrix(q1, q2)
Arguments
q1 |
A q-vector |
q2 |
Another q-vector |
Value
A restriction matrix
References
de la Torre, J. (2011). The Generalized DINA Model Framework. Psychometrika, 76(2), 179-199. DOI: 10.1007/s11336-011-9207-7.
Ma, W., & de la Torre, J. (2020). An empirical Q-matrix validation method for the sequential generalized DINA model. British Journal of Mathematical and Statistical Psychology, 73(1), 142-163. DOI: 10.1111/bmsp.12156.
See Also
Examples
q1 <- c(1, 1, 0)
q2 <- c(1, 1, 1)
Rmatrix <- get.Rmatrix(q1, q2)
print(Rmatrix)
[Package Qval version 1.2.3 Index]