getUSR {Qval} | R Documentation |
Caculate under-specifcation rate (USR)
Description
Caculate under-specifcation rate (USR)
Usage
getUSR(Q.true, Q.sug)
Arguments
Q.true |
The true Q-matrix. |
Q.sug |
A The Q-matrix that has being validated. |
Details
The USR is defned as:
where denotes the
k
th attribute of item i
in the true Q-matrix (Q.true
),
denotes
k
th attribute of item i
in the suggested Q-matrix(Q.sug
),
and is the indicator function.
Value
A numeric (USR index).
Examples
library(Qval)
set.seed(123)
example.Q1 <- sim.Q(5, 30)
example.Q2 <- sim.MQ(example.Q1, 0.1)
USR <- getUSR(example.Q1, example.Q2)
print(USR)
[Package Qval version 0.1.7 Index]