Extract the (marginal) log-likelihood of a dsem model
# S3 method for dsem
logLik(object, ...)
object of class logLik
with attributes
log-likelihood
number of parameters
Returns an object of class logLik. This has attributes
"df" (degrees of freedom) giving the number of (estimated) fixed effects
in the model, abd "val" (value) giving the marginal log-likelihood.
This class then allows AIC
to work as expected.
Output from dsem
Not used