Skip to content

Binominal GLMM in Lmer

2 messages · Claire M. Sheridan, Ben Bolker

1 day later
#
Claire M. Sheridan wrote:
Do you mean anova()? (This runs a likelihood ratio test, confusingly
enough.)

I also started with more basic models (1 fixed
with no random effect?  or do you mean 1 fixed effect + random effects?

and compared it to a model with only random effects (with the #1 in
Which other variables are included matters in GLMMs (it matters in any
  modeling framework where the effects are not perfectly orthogonal,
which includes most regression models, any nonlinear model, and GLMMs).
 It is not shocking that you find some cases where adding some variables
to the simplest/null model improves prediction, but adding the same
variables to a model with the other 6 variables present does not.  In
addition, AIC and Likelihood ratio test p-values are completely
different frameworks, my fairly strong advice is to pick one or the
other & not to use them in the same analysis.

  These issues are fairly generic to modeling/model selection problems
as soon as one leaves the balanced/orthogonal/designed experiment case.
Zuur et al (mixed models book), Harrell (applied regression modeling)
are both recommended.  Others may have other recommendations.
The zero variances here suggest fairly strongly that you're
overfitting.  It's hard to fit a random-effects term with only 4 sites,
and even harder with only 2 years (e.g. search for "Are there enough
levels" in <http://glmm.wikidot.com/faq>)