Learn R Programming

Qval (version 0.1.7)

sim.MQ: Simulate mis-specifications

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 pecentage of mis-specifications in the\(Q\).

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