Description Usage Arguments Examples
Fit Q Matrix
1 2 3 |
scores |
table containing the students scores |
scores.test |
validation set. |
concepts.no |
number of concepts to fit |
delta |
step size for matrix exploration. |
qmat |
predefined qmatrix. If NULL (default) it will be initialized with one of the predefined methods. |
niter |
maximum number of iteration. |
init.method |
if qmat is null it will be created using one of the two methods - 'NMF' is based on Nonnegative Matrix Factorization or 'random' which is a random matrix. |
verbose |
if true, some additional information will be printed. |
1 2 3 4 5 6 7 8 9 | library(ltm)
data("WIRS")
fitQmat(WIRS, verbose = TRUE)
# Predefined matrix initialized with 0
fitQmat(WIRS, concepts.no = 2, qmat = matrix(0, ncol(WIRS), nrow = 2),verbose = TRUE)
# Predefined matrix initialized with 1
fitQmat(WIRS, concepts.no = 2, qmat = matrix(1, ncol(WIRS), nrow = 2),verbose = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.