zQRR: Calculate Q-matrix Recovery Rate (QRR)

View source: R/QvalIndex.R

zQRRR Documentation

Calculate Q-matrix Recovery Rate (QRR)

Description

Calculate Q-matrix Recovery Rate (QRR)

Usage

zQRR(Q.true, Q.sug)

Arguments

Q.true

The true Q-matrix.

Q.sug

The Q-matrix that has been validated.

Details

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

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

where q_{ik}^{t} denotes the kth attribute of item i in the true Q-matrix (Q.true), q_{ik}^{s} denotes kth attribute of item i in the suggested Q-matrix(Q.sug), and I(\cdot) is the indicator function.

Value

A numeric (QRR index).

Examples

library(Qval)

set.seed(123)

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


Qval documentation built on June 8, 2025, 10:20 a.m.

Related to zQRR in Qval...