coef function

Extract coefficients from smsn.lmm, smn.lmm and smn.clmm objects

Extract coefficients from smsn.lmm, smn.lmm and smn.clmm objects

It extracts estimated coefficients from smsn.lmm, smn.lmm and smn.clmm objects. The estimated coefficients are obtained by adding together the fixed and random effects estimates.

## S3 method for class 'SMN' coef(object, ...) ## S3 method for class 'SMSN' coef(object, ...) ## S3 method for class 'SMNclmm' coef(object, ...)

Arguments

  • object: An object inheriting from class SMN, SMSN, or SMNclmm, representing a fitted scale mixture skew-normal linear mixed model.
  • ...: Additional arguments

Returns

Matrix of coefficients.

References

Schumacher, F. L., Lachos, V. H., and Matos, L. A. (2021). Scale mixture of skew-normal linear mixed models with within-subject serial dependence. Statistics in Medicine 40(7), 1790-1810.

Author(s)

Fernanda L. Schumacher, Larissa A. Matos and Victor H. Lachos

See Also

smsn.lmm, smn.lmm, smn.clmm, fitted.SMSN, fitted.SMN, fitted.SMNclmm

Examples

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