Learn R Programming

mirt (version 0.3.0)

calcLogLik: 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 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 confmirtClass with the log-likelihood, standard error, and (possibly) the G^2 model fit statistic if there is no missing data.

See Also

confmirt

Examples

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

Run the code above in your browser using DataLab