Learn R Programming

mirt (version 0.4.2)

calcLogLik: Monte Carlo Log-Likelihood Calculation

Description

Calculates a new object that contain the Monte Carlo estimated observed log-likelihood values for mirt objects estimated with the MH-RM algorithm

Arguments

object
a model of class ConfirmatoryClass or ExploratoryClass
draws
the number of Monte Carlo draws
G2
logical; estimate the G2 model fit statistic?
...
parameters that are passed

Value

  • Returns an object with the log-likelihood, standard errors, information matrix, and (possibly) the G^2 and other model fit statistic if there is no missing data.

See Also

confmirt, multipleGroup

Examples

Run this code
mod1withLogLik <- calcLogLik(mod1, draws = 5000)

Run the code above in your browser using DataLab