lm –> LME
(integrate likelihood across all unobserved levels random effects)
lm –> LME
(integrate likelihood across all unobserved levels random effects)
glm —-………–> GLMM
Not so easy - need to approximate
Penalized quasi-likelihood
Laplace approximation
Gauss-Hermite quadrature
Second-order Taylor series expansion - to approximate likelihood at unobserved levels of random effects
Second-order Taylor series expansion - to approximate likelihood at unobserved levels of random effects
Second-order Taylor series expansion - to approximate likelihood at unobserved levels of random effects
Depends on:
Approximation | Characteristics | Associated inference | R function |
---|---|---|---|
Penalized Quasi-likelihood (PQL) | Fast and simple, accommodates heterogeneity and dependency structures, biased for small samples | Wald tests only | glmmPQL (MASS) |
Laplace | More accurate (less biased), slower, does not accommodates heterogeneity and dependency structures | LRT | glmer (lme4), glmmadmb (glmmADMB) |
Gauss-Hermite quadrature | Even more accurate (less biased), even slower, does not accommodates heterogeneity and dependency structures | LRT | glmer (lme4)?? Does not seem to work |
Markov Chain Monte Carlo (MCMC) | Bayesian, very flexible and accurate, yet very slow and complex | Bayesian credibility intervals, Bayesian P-values | Numerous (see this tutorial) |
Feature | glmmPQL (MASS) | glmer (lme4) | glmmadmb (glmmADMB) |
---|---|---|---|
Variance and covariance structures | Yes | - | not yet |
Overdispersed (Quasi) families | Yes | - | - |
Complex nesting | Yes | Yes | Yes |
Zero-inflation | - | - | Yes |
Resid degrees of freedom | Between-Within | - | - |
Parameter tests | Wald \(t\) | Wald \(z\) | Wald \(z\) |
Marginal tests (fixed effects) | Wald \(F\),\(\chi^2\) | Wald \(F\),\(\chi^2\) | Wald \(F\),\(\chi^2\) |
Marginal tests (Random effects) | Wald \(F\),\(\chi^2\) | LRT | LRT |
Information criterion | - | Yes | Yes |