Learn R Programming

mirt (version 0.2.6)

logLik: Monte Carlo Log-Likelihood Calculation

Description

Calculates a new object that contain the Monte Carlo estimated observed log-likelihood values for polymirt and confmirt objects

Arguments

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

Value

  • Returns an object of class polymirtClass or confmirtClass with the log-likelihood, standard error, and (possibly) the G^2 model fit statistic.

See Also

polymirt, confmirt

Examples

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

Run the code above in your browser using DataLab