[R-sig-ME] Theoric rapid doubts about glmer()

D. Rizopoulos d@r|zopou|o@ @end|ng |rom er@@mu@mc@n|
Wed Apr 24 17:51:24 CEST 2019

From: David Bars <dbarscortina using gmail.com<mailto:dbarscortina using gmail.com>>
Date: Wednesday, 24 Apr 2019, 17:46
To: r-sig-mixed-models using r-project.org <r-sig-mixed-models using r-project.org<mailto:r-sig-mixed-models using r-project.org>>
Subject: [R-sig-ME] Theoric rapid doubts about glmer()

Dear community,

My previous e-mail with links has not been slipped through the cracks. For
this reason, this second time, only I send two teoric doubts if someone
could help me to understand two simple doubts but for me (as PhD student
with a curiosity in statistics) I've not capable to solve by myself yet.

1- As general rule, in glmer models if we have only one random effect,
maybe it's more recommended always to perform a Gauss-Hermite Quadrature
approximation instead of Laplace approximation because we can perform more
than one iteration?

In generalized linear mixed models, fitted by glmer(), the likelihood function involves an integral over the random effects that cannot be solved analyticaly. Hence, it is required to numerically approximate it. A standard method to do this is the adaptive Gaussian quadrature. The more points you use the better the more accurate the approximation. The Laplace approximation is equivalent to adaptive Gaussian quadrature with one point, and it often does not work that optimally especially for binary data.

 Currently glmer() allows for adaptive Gaussian quadrature for scalar random effects. If you want to include something more than random intercepts and use the adaptive Gaussian quadrature you can do it with the GLMMadaptive package

2 - I've read some posts addressing why the variance of Random effect
differs between lmer and glmer... ([(

Due to non-normality of my data (not attached), I need to use glmer, but
how can I explain that the variance of my random variable (Horse) is
practically 0???
Performing an analogous analysis by lmer (assuming badly "normality") the
variance of my random variable (Horse) increased up to 33%!!! I think that
horse, must be an important value of explaining the variance of my model
(as states lmer model).

Therefore, I perform glmer and I obtained a variance for Horse as random
effect of 0, meanwhile performing a lmer() I obtained a variance for Horse
as random effect of 33%. How can I assess the importance of the random
effect on my model? How can I interpret well the model?

Thanks on advance for your help,

David Bars
PhD Student
University of Lleida // INRA Jouy-en-Josas

        [[alternative HTML version deleted]]

R-sig-mixed-models using r-project.org mailing list

	[[alternative HTML version deleted]]

More information about the R-sig-mixed-models mailing list