monocheck: This function checks if monotonicity is violated

Description Usage Arguments Value Examples

View source: R/monocheck.R

Description

If mastering an additional attribute lead to a lower probabilities of success, the monotonicity is violated.

Usage

1
monocheck(object, strict = FALSE)

Arguments

object

object of class GDINA

strict

whether a strict monotonicity is checked?

Value

a logical vector for each item or category indicating whether the monotonicity is violated (TRUE) or not (FALSE)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
dat <- sim10GDINA$simdat
Q <- sim10GDINA$simQ


mod1 <- GDINA(dat = dat, Q = Q, model = "GDINA")
check <- monocheck(mod1)
check
mod2 <- GDINA(dat = dat, Q = Q, model = "GDINA",mono.constraint = check)
check2 <- monocheck(mod2)
check2

## End(Not run)

Wenchao-Ma/GDINA documentation built on Nov. 7, 2018, 1:33 p.m.