Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


Qval (version 0.1.7)

getUSR: Caculate under-specifcation rate (USR)

Description

Caculate under-specifcation rate (USR)

Usage

getUSR(Q.true, Q.sug)

Value

A numeric (USR index).

Arguments

Q.true

The true Q-matrix.

Q.sug

A The Q-matrix that has being validated.

Details

The USR is defned as: USR=i=1Ik=1KI(qikt>qiks)I×K where qikt denotes the kth attribute of item i in the true Q-matrix (Q.true), qiks denotes kth attribute of item i in the suggested Q-matrix(Q.sug), and I() is the indicator function.

Examples

Run this code
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)

Run the code above in your browser using DataLab