Skip to content
Prev 5630 / 20628 Next

generalized mixed linear models, glmmPQL and GLMER give very different results that both do not fit the data well...

On Fri, Mar 18, 2011 at 9:54 PM, David Duffy <davidD at qimr.edu.au> wrote:
To follow up on David's comment a bit, you have a very large estimated
standard deviation for the random effects for subject.  An estimated
standard deviation of 2.23 in the glmer fit is huge.  On the scale of
the linear predictor the random effects would swamp the contribution
of the fixed effects - different subjects' random effects could easily
differ by 8 or more (+/ 2 s.d.).  Transformed to the probability scale
that takes you from virtually impossible to virtually certain.  To get
that large an estimated standard deviation you would need different
subjects exposed to the same experimental conditions and who get
completely different results (all wrong vs all right).  The estimate
of the fixed effect for type is also very large, considering that this
is a binary covariate.

I would suggest plotting the data, say by first grouping the subjects
into groups according to power then by subject then by type.  You
should see a lot of variability in  responses according to subject
within power.

Regarding the difference between the glmer and the glmmPQL results,
bear in mind that glmmPQL is based on successive approximation of the
GLMM by an LMM.  This case is rather extreme and the approximation is
likely to break down.  In fact, for the glmer fit, I would recommend
using nAGQ=7 or nAGQ=9 to see if that changes the estimates
substantially.  The difference between the default evaluation of the
deviance by the Laplace approximation and the more accurate adaptive
Gauss-Hermite quadrature may be important in this case.

I just saw your other message about the properties of the random
effects.  The values returned are the conditional modes of the random
effects given the observed data.  The mean 0 and standard deviation of
2.3 apply to the marginal or unconditional distribution of the random
effects, not the conditional distribution.