logLik function

Log-likelihood of an smn.lmm and smsn.lmm models

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, ...)

Arguments

  • object: An object inheriting from class SMN or SMSN
  • ...: Additional arguments.

Returns

The log-likelihood value of the model represented by object evaluated at the estimated coefficients.

See Also

smn.lmm, smsn.lmm, criteria

Examples

fm1 = smn.lmm(distance ~ age+Sex, data=nlme::Orthodont, groupVar="Subject") logLik(fm1)
  • Maintainer: Fernanda L. Schumacher
  • License: MIT + file LICENSE
  • Last published: 2024-12-15