Description Usage Arguments Details Value Author(s) References Examples
generate random weight matrices according to the dimensions of the original weight matrix
1 2 |
datmat |
data file |
weightmat |
original weight matrix |
repl |
number of weight matrices that are generated |
prop01 |
vector providing the proportions of Zeros and Ones of the weight matrix to be generated |
keepmat |
if TRUE, the generated random weight matrices are kept in an three-dimensional array |
According to an original data file with a defined weight matrix to estimate a linear logistic test model (LLTM), random weight matrices with the same dimensions of the original one are generated. For each generated weight matrix, an LLTM is estimated using the function DRM
of the R package pcIRT. A Rasch model is estimated for the original data set using the function DRM
from pcIRT. The item parameters estimated by the Rasch model are correlated with the item parameters reconstructed from the parameters estimated by the LLTM.
conv |
convergence of the estimated LLTMs of the generated weight matrices |
raschpar |
estimated Rasch model item parameters for the original data set |
lltmpar |
item parameters reconstructed from the estimated parameters of the LLTM of the generated weight matrices |
corlr |
correlation of the re-constructed item parameters by the LLTM and the estimated item parameters of the original Rasch model |
sumcorlr |
short summary descriptive statistics of the correlations |
randommat |
array containing the generated weight matrices (if argument keepmat is set TRUE) |
Christine Hohensinn
Baghaei, P. & Hohensinn, C. (submitted). A Method of Q-Matrix Validation for the Linear Logistic Test Model.
Fischer, G. H. (1973). The linear logistic test model as an instrument in educational research. Acta Psychologica, 37, 359-374.
1 2 3 4 5 | #generate three random weight matrices for example data set
data(exampledata)
data(exampleweight)
Wrandom(exdat, orig.weight, repl=3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.