Learn R Programming

mirt (version 1.3)

anova-method: Compare nested models

Description

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

Usage

## S3 method for class 'ExploratoryClass':
anova(object, object2, verbose = TRUE)

Arguments

object
an object of class ExploratoryClass, ConfirmatoryClass, MultipleGroupClass, or MixedClass
object2
a second model estimated from any of the mirt package estimation methods
verbose
logical; print additional information to console?

Examples

Run this code
x <- mirt(Science, 1)
x2 <- mirt(Science, 2)
anova(x, x2)

Run the code above in your browser using DataLab