anova-method {mirt}R Documentation

Compare nested models with likelihood-based statistics

Description

Compare nested models using likelihood ratio, AIC, BIC, etc.

Usage

## S4 method for signature 'SingleGroupClass'
anova(object, object2, verbose = TRUE)

Arguments

object

an object of class SingleGroupClass, MultipleGroupClass, or MixedClass

object2

a second model estimated from any of the mirt package estimation methods

verbose

logical; print additional information to console?

Examples


## Not run: 
x <- mirt(Science, 1)
x2 <- mirt(Science, 2)
anova(x, x2)

## End(Not run)

[Package mirt version 1.21 Index]