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.