zVRR: Calculate vector recovery ratio (VRR)

View source: R/Qvalindex.R

zVRRR Documentation

Calculate vector recovery ratio (VRR)

Description

Calculate vector recovery ratio (VRR)

Usage

zVRR(Q.true, Q.sug)

Arguments

Q.true

The true Q-matrix.

Q.sug

The Q-matrix that has being validated.

Details

The VRR shows the ability of the validation method to recover q-vectors, and is determined by

VRR =\frac{\sum_{i=1}^{I}I(\mathbf{q}_{i}^{t} = \mathbf{q}_{i}^{s})}{I}

where \mathbf{q}_{i}^{t} denotes the \mathbf{q}-vector of item i in the true Q-matrix (Q.true), \mathbf{q}_{i}^{s} denotes the \mathbf{q}-vector of item i in the suggested Q-matrix(Q.sug), and I(\cdot) is the indicator function.

Value

A numeric (VRR index).

Examples

library(Qval)

set.seed(123)

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


Qval documentation built on April 3, 2025, 6:20 p.m.

Related to zVRR in Qval...