Learn R Programming

Qval (version 1.2.1)

sim.MQ: Simulate mis-specifications in the Q-matrix

Description

simulate certen rate mis-specifications in the Q-matrix.

Usage

sim.MQ(Q, rate, verbose = TRUE)

Value

An object of class matrix.

Arguments

Q

The Q-matrix (sim.Q) that need to simulate mis-specifications.

rate

The ratio of mis-specifications in the Q-matrix.

verbose

Logical indicating to print information or not. Default is TRUE

Author

Haijiang Qin <Haijiang133@outlook.com>

Examples

Run this code
library(Qval)

set.seed(123)

Q <- sim.Q(5, 10)
print(Q)

MQ <- sim.MQ(Q, 0.1)
print(MQ)

Run the code above in your browser using DataLab