zOSR: Calculate over-specifcation rate (OSR)

View source: R/Qvalindex.R

zOSRR Documentation

Calculate over-specifcation rate (OSR)

Description

Calculate over-specifcation rate (OSR)

Usage

zOSR(Q.true, Q.sug)

Arguments

Q.true

The true Q-matrix.

Q.sug

The Q-matrix that has being validated.

Details

The OSR is defned as:

OSR = \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 (OSR index).

Examples


library(Qval)

set.seed(123)

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


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

Related to zOSR in Qval...