zUSR | R Documentation |
Calculate under-specifcation rate (USR)
zUSR(Q.true, Q.sug)
Q.true |
The true Q-matrix. |
Q.sug |
The Q-matrix that has being validated. |
The USR is defned as:
USR = \frac{\sum_{i=1}^{I}\sum_{k=1}^{K}I(q_{ik}^{t} > q_{ik}^{s})}{I × K}
where q_{ik}^{t}
denotes the k
th attribute of item i
in the true Q-matrix (Q.true
),
q_{ik}^{s}
denotes k
th attribute of item i
in the suggested Q-matrix(Q.sug
),
and I(\cdot)
is the indicator function.
A numeric (USR index).
library(Qval)
set.seed(123)
example.Q1 <- sim.Q(5, 30)
example.Q2 <- sim.MQ(example.Q1, 0.1)
USR <- zUSR(example.Q1, example.Q2)
print(USR)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.