criteria: Extracts criteria for model comparison of SMSN/SMN/SMNclmm...

View source: R/mainfunctions.R

criteriaR Documentation

Extracts criteria for model comparison of SMSN/SMN/SMNclmm objects

Description

It extracts criteria for model comparison of sereval SMSN-LMM, SMN-LMM and/or SMN-CLMM (for censored responses).

Usage

criteria(lobjects)

Arguments

lobjects

A list containg the smsn.lmm, smn.lmm or smn.clmm objects to be compared.

Value

A data.frame containing for each model the maximum log-likelihood value, the number of parameters, the AIC, and the BIC.

Author(s)

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

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.

See Also

smsn.lmm, smn.lmm, smn.clmm

Examples

fm_norm = smn.lmm(nlme::Orthodont, formFixed=distance~age+Sex, groupVar="Subject")
fm_t = update(fm_norm, distr="t")
fm_sn = smsn.lmm(nlme::Orthodont, formFixed=distance~age+Sex, groupVar="Subject")
fm_cens = smn.clmm(nlme::Orthodont, formFixed=distance~age+Sex, groupVar="Subject")
criteria(list(fm_norm=fm_norm, fm_t=fm_t, fm_sn=fm_sn, fm_cens=fm_cens))

skewlmm documentation built on July 9, 2023, 7:29 p.m.