logLik.dsem | R Documentation |
Extract the (marginal) log-likelihood of a dsem model
## S3 method for class 'dsem'
logLik(object, ...)
object |
Output from |
... |
Not used |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.