logLik.dsem {dsem} | R Documentation |
Marglinal log-likelihood
Description
Extract the (marginal) log-likelihood of a dsem model
Usage
## S3 method for class 'dsem'
logLik(object, ...)
Arguments
object |
Output from |
... |
Not used |
Value
object of class logLik
with attributes
val |
log-likelihood |
df |
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.
[Package dsem version 1.3.0 Index]