getQRR {Qval}R Documentation

Caculate Q-matrix recovery rate (QRR)

Description

Caculate Q-matrix recovery rate (QRR)

Usage

getQRR(Q.true, Q.sug)

Arguments

Q.true

The true Q-matrix.

Q.sug

A The Q-matrix that has being validated.

Details

The Q-matrix recovery rate (QRR) provides information on overall performance, and is defned as:

QRR=i=1Ik=1KI(qikt=qiks)I×K QRR = \frac{\sum_{i=1}^{I}\sum_{k=1}^{K}I(q_{ik}^{t} = q_{ik}^{s})}{I × K}

where qiktq_{ik}^{t} denotes the kkth attribute of item ii in the true Q-matrix (Q.trueQ.true), qiksq_{ik}^{s} denotes kkth attribute of item ii in the suggested Q-matrix(Q.sugQ.sug), and I()I(\cdot) is the indicator function.

Value

A numeric (QRR index).

Examples

library(Qval)

set.seed(123)

example.Q1 <- sim.Q(5, 30)
example.Q2 <- sim.MQ(example.Q1, 0.1)
QRR <- getQRR(example.Q1, example.Q2)
print(QRR)


[Package Qval version 0.1.7 Index]