Log-likelihood of an smn.lmm and smsn.lmm models
It returns the log-likelihood value of the linear mixed model represented by object evaluated at the estimated coefficients.
## S3 method for class 'SMN' logLik(object, ...) ## S3 method for class 'SMSN' logLik(object, ...)
object
: An object inheriting from class SMN
or SMSN
...
: Additional arguments.The log-likelihood value of the model represented by object evaluated at the estimated coefficients.
smn.lmm
, smsn.lmm
, criteria
fm1 = smn.lmm(distance ~ age+Sex, data=nlme::Orthodont, groupVar="Subject") logLik(fm1)
Useful links