This function checks if monotonicity is violated
If mastering an additional attribute lead to a lower probabilities of success, the monotonicity is violated.
monocheck(object, strict = FALSE)
object |
object of class |
strict |
whether a strict monotonicity is checked? |
a logical vector for each item or category indicating whether
the monotonicity is violated (TRUE
) or not (FALSE
)
## 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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.