View source: R/mainfunctions.R
criteria | R Documentation |
It extracts criteria for model comparison of sereval SMSN-LMM, SMN-LMM and/or SMN-CLMM (for censored responses).
criteria(lobjects)
lobjects |
A list containg the smsn.lmm, smn.lmm or smn.clmm objects to be compared. |
A data.frame
containing for each model the maximum log-likelihood value, the number of parameters, the AIC, and the BIC.
Fernanda L. Schumacher, Larissa A. Matos and Victor H. Lachos
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.
smsn.lmm
, smn.lmm
, smn.clmm
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.